/* ===== COMPREHENSIVE RESPONSIVE STYLES FOR ALL DEVICES ===== */

/* ===== CSS CUSTOM PROPERTIES & MODERN VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary-color: #03196b;
  --primary-light: #3182ce;
  --primary-dark: #020f47;
  --secondary-color: #211981;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status Colors */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #3b82f6;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ===== GLOBAL RESPONSIVE UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container-responsive {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-responsive {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  line-height: var(--leading-normal);
}

.heading-responsive {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: var(--leading-tight);
}

/* ===== BREAKPOINT SYSTEM ===== */

/* 4K and Ultra Wide Displays (2560px+) */
@media (min-width: 2560px) {
  .container-responsive {
    max-width: 1600px;
    padding: 0 var(--space-2xl);
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 1rem 1.5rem;
  }

  .btn {
    font-size: 18px;
    padding: 1rem 2rem;
  }

  .form-control {
    font-size: 18px;
    padding: 1rem 1.5rem;
  }

  .card {
    padding: var(--space-2xl);
  }
}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .container-responsive {
    max-width: 1400px;
    padding: 0 var(--space-xl);
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    line-height: 42px;
  }

  .useraccount {
    text-align: right;
    padding-right: 20px;
  }

  .hero-section {
    min-height: 100vh;
    padding: 120px 0;
  }

  .hero-title {
    font-size: var(--font-size-5xl);
  }

  .publication-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}

/* Standard Desktop (1367px - 1919px) */
@media (min-width: 1367px) and (max-width: 1919px) {
  .container-responsive {
    max-width: 1200px;
    padding: 0 var(--space-lg);
  }

  .navbar-nav .nav-link {
    line-height: 21px;
    font-size: 16px;
  }

  .useraccount {
    padding: 14px 17px 14px 0;
    text-align: right;
  }

  .hero-section {
    min-height: 60vh;
    padding: 100px 0;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .publication-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .msl-card-enhanced {
    margin: 1rem 0.5rem;
  }
}

/* Small Desktop (1200px - 1366px) */
@media (min-width: 1200px) and (max-width: 1366px) {
  .container-responsive {
    max-width: 1100px;
    padding: 0 var(--space-lg);
  }

  .navbar-nav .nav-link {
    line-height: 21px;
    font-size: 14px;
  }

  .hero-section {
    min-height: 80vh;
    padding: 80px 0;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .publication-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .form-container {
    padding: var(--space-xl);
  }

  .modal-dialog {
    max-width: 600px;
  }
}

/* Large Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container-responsive {
    width: 96%;
    padding: 0 var(--space-md);
  }

  .navbar-nav .nav-link {
    font-size: 13px;
    line-height: 17px;
  }

  .navbar {
    padding-right: 6px;
  }

  .useraccount .btn {
    font-size: 11px;
    padding: 0.5rem 1rem;
  }

  .hero-section {
    min-height: 70vh;
    padding: 60px 0;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .msl-card-enhanced {
    margin: 0.75rem 0.25rem;
  }

  .form-container {
    padding: var(--space-lg);
  }

  .modal-dialog {
    max-width: 500px;
  }

  .sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .owl-carousel .owl-nav .owl-prev {
    left: 93% !important;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container-responsive {
    width: 96%;
    padding: 0 var(--space-md);
  }

  /* Navigation */
  .navbar {
    width: 100%;
    padding: 0 14px;
  }

  .navbar-nav .nav-item {
    height: auto;
    padding: 5px 10px;
  }

  .useraccount {
    width: 100%;
    padding: 0;
    display: none;
  }

  #logo {
    display: none;
  }

  #logo-mbl {
    display: block;
    padding: 5px 0 8px 0;
  }

  #logo-mbl img {
    height: 25px;
  }

  .mbl-useraccount {
    display: block;
    float: left;
    text-align: right;
  }

  .navbar-toggler {
    position: absolute;
    right: 6px;
    top: 7px;
    width: 22px;
    height: 24px;
    padding: 0;
    color: #fff;
  }

  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    padding: 40px 0;
  }

  .hero-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
  }

  .hero-description {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
  }

  /* Grid Layouts */
  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Cards */
  .card,
  .publication-card,
  .news-card {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
  }

  .msl-card-enhanced {
    margin: 0.5rem 0;
  }

  .msl-card-header-enhanced {
    padding: var(--space-md);
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .msl-avatar-enhanced {
    width: 60px;
    height: 60px;
  }

  /* Forms */
  .form-container {
    padding: var(--space-md);
    margin: var(--space-md) 0;
  }

  .form-group {
    margin-bottom: var(--space-md);
  }

  .form-control {
    padding: 0.75rem 1rem;
    font-size: 16px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
  }

  /* Modals */
  .modal-dialog {
    max-width: 90%;
    margin: var(--space-md);
  }

  .modal-content {
    padding: var(--space-md);
  }

  /* Tables */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table th,
  .table td {
    padding: 0.5rem;
    font-size: var(--font-size-sm);
  }

  /* Tabs */
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs .nav-item {
    flex-shrink: 0;
  }

  .tabsMain .nav-tabs {
    width: 370px;
  }

  .tabsMain .nav-tabs .nav-item {
    padding: 0 45px;
  }

  /* Buttons */
  .buttonsRow {
    text-align: center;
  }

  .buttonsRow .btn {
    padding: 5px 6px !important;
    margin: 0.25rem;
  }

  .mbl-100 {
    padding-top: 10px;
    text-align: center !important;
  }

  /* Carousel */
  .owl-carousel .owl-nav .owl-prev {
    left: 91% !important;
  }

  /* Contact Details - Enhanced Mobile */
  .contact-dtls {
    padding: 0 var(--space-sm);
  }

  .contact-dtls li {
    padding: var(--space-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .contact-dtls span {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-dtls span .fas {
    font-size: 16px;
    color: var(--primary-color);
  }

  .contact-dtls small,
  .contact-dtls a {
    flex: 1;
    font-size: var(--font-size-sm);
    line-height: 1.4;
  }

  .contact-dtls a {
    color: var(--primary-light);
    word-break: break-word;
  }

  .promoCards {
    padding: 20px 8px;
  }

  .promoCards p {
    font-size: 12px;
  }

  .resourceCard {
    padding: 6px 14px;
  }

  .registaerForm-fields {
    width: 96%;
  }

  .topof-Header ul {
    display: none;
  }

  .nav-right {
    padding: 3px 0 5px 0;
    float: none;
    text-align: center;
  }

  .nav-right li {
    padding: 0;
    float: none;
    display: inline;
  }
}

/* Large Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container-responsive {
    width: 100%;
    padding: 0 var(--space-md);
  }

  /* Navigation */
  .navbar {
    width: 100%;
    padding: 0 14px;
  }

  .navbar-nav .nav-item {
    height: auto;
    padding: 5px 10px;
  }

  .navbar-nav .nav-item:first-child a {
    line-height: 16px;
  }

  .useraccount {
    display: none;
  }

  #logo {
    display: none;
  }

  #logo-mbl {
    display: block;
    padding: 5px 0 8px 0;
  }

  #logo-mbl img {
    height: 24px;
  }

  .mbl-useraccount {
    display: block;
    float: left;
    text-align: right;
  }

  .navbar-toggler {
    position: absolute;
    right: 6px;
    top: 7px;
    width: 22px;
    height: 24px;
    padding: 0;
    color: #fff;
  }

  /* Hero Section */
  .hero-section {
    min-height: 50vh;
    padding: 30px 0;
  }

  .hero-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
  }

  .hero-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
  }

  /* Grid Layouts */
  .publication-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Cards */
  .card,
  .publication-card,
  .news-card {
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
  }

  .msl-card-enhanced {
    margin: 0.5rem 0;
  }

  .msl-card-header-enhanced {
    padding: var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .msl-avatar-enhanced {
    width: 50px;
    height: 50px;
  }

  .msl-name-enhanced {
    font-size: var(--font-size-base);
  }

  .msl-title-enhanced {
    font-size: var(--font-size-sm);
  }

  /* Forms */
  .form-container {
    padding: var(--space-sm);
    margin: var(--space-sm) 0;
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }

  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 16px;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-sm);
  }

  /* Modals */
  .modal-dialog {
    max-width: 95%;
    margin: var(--space-sm);
  }

  .modal-content {
    padding: var(--space-sm);
  }

  /* Tables */
  .table th,
  .table td {
    padding: 0.375rem;
    font-size: var(--font-size-xs);
  }

  /* Tabs */
  .defaultTabs .nav-tabs .nav-item .nav-link {
    font-size: 16px;
  }

  .tabsMain .nav-tabs {
    width: 370px;
  }

  .tabsMain .nav-tabs .nav-item {
    padding: 0 45px;
  }

  .tabsMain .nav-tabs .nav-item .nav-link:after {
    width: 93px;
  }

  /* Buttons */
  .buttonsRow {
    text-align: center;
  }

  .buttonsRow .btn {
    padding: 5px 6px !important;
    margin: 0.25rem;
  }

  .mbl-100 {
    padding-top: 10px;
    text-align: center !important;
  }

  /* Footer */
  footer {
    padding: 30px 20px 20px 20px;
  }

  .footerLinks a {
    padding: 8px 16px;
  }

  /* Carousel */
  .owl-carousel .owl-nav .owl-prev {
    left: 86% !important;
  }

  /* Utilities */
  .registaerForm-fields {
    width: 96%;
  }

  .newsCard figure {
    position: inherit;
    left: 0;
    top: 0;
  }

  .topof-Header a {
    width: 50%;
  }

  .topof-Header a img {
    width: 100%;
  }

  .topof-Header ul {
    display: none;
  }

  .nav-right {
    padding: 3px 0 5px 0;
    float: none;
    text-align: center;
  }

  .nav-right li {
    padding: 0;
    float: none;
    display: inline;
  }

  #autoModal .modal-body {
    height: 270px;
    overflow: auto;
  }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
  .container-responsive {
    width: 100%;
    padding: 0 var(--space-sm);
  }

  /* Navigation - Mobile Optimized */
  .navbar {
    width: 100%;
    padding: 0 1rem;
    background: linear-gradient(135deg, #03196b 0%, #211981 100%);
    box-shadow: 0 2px 12px rgba(3, 25, 107, 0.15);
  }

  .navbar-nav .nav-item {
    height: auto;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
  }

  .navbar-nav .nav-item:first-child a {
    line-height: 1.4;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
  }

  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
  }

  /* Logo & Branding */
  #logo {
    display: none;
  }

  #logo-mbl {
    display: block;
    padding: 0.75rem 0;
  }

  #logo-mbl img {
    height: 28px;
    transition: transform 0.2s ease;
  }

  #logo-mbl:hover img {
    transform: scale(1.05);
  }

  /* User Account - Mobile */
  .useraccount {
    display: none;
  }

  .mbl-useraccount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mbl-useraccount button,
  .mbl-useraccount button:focus {
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
  }

  .mbl-useraccount button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }

  /* Mobile Hamburger Menu */
  .navbar-toggler {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }

  /* Header Navigation */
  .topof-Header {
    padding: 0.5rem 0;
  }

  .topof-Header a {
    width: 50%;
    display: block;
  }

  .topof-Header a img {
    width: 100%;
    height: auto;
  }

  .topof-Header ul {
    display: none;
  }

  .nav-right {
    padding: 0.5rem 0;
    text-align: center;
  }

  .nav-right li {
    display: inline-block;
    margin: 0 0.25rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 50vh;
    padding: 20px 0;
  }

  .hero-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
  }

  .hero-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
  }

  /* Typography - Mobile Optimized */
  .title-lg {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .title-md {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .title-sm {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Grid Layouts */
  .publication-grid,
  .news-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Cards - Mobile Optimized */
  .card,
  .publication-card,
  .news-card {
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .card:hover,
  .publication-card:hover,
  .news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* MSL Cards - Mobile */
  .msl-card-enhanced {
    margin: 0.5rem 0;
  }

  .msl-card-header-enhanced {
    padding: var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .msl-avatar-enhanced {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .msl-name-enhanced {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
  }

  .msl-title-enhanced {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xs);
  }

  .msl-card-body-enhanced {
    padding: var(--space-sm);
  }

  .msl-card-footer-enhanced {
    padding: var(--space-sm);
  }

  .action-buttons {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .action-btn {
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
  }

  .btn-icon {
    width: 36px;
    height: 36px;
  }

  /* Forms - Mobile First */
  .form-container {
    padding: var(--space-sm);
    margin: var(--space-sm) 0;
    border-radius: var(--radius-md);
  }

  .registaerForm-fields {
    width: 100%;
    padding: 0;
  }

  .form-group {
    margin-bottom: var(--space-md);
  }

  .form-control {
    font-size: 16px;
    /* Prevents iOS zoom */
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-300);
    transition: all var(--transition-normal);
  }

  .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
  }

  .form-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
  }

  /* Buttons - Mobile Enhanced */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border: none;
    color: white;
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }

  .buttonsRow {
    text-align: center;
    margin: 1.5rem 0;
  }

  .buttonsRow .btn {
    margin: 0.5rem 0.25rem;
  }

  .mbl-100 {
    text-align: center !important;
    margin: 1rem 0;
  }

  .mbl-100 .btn {
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
  }

  /* Modals - Mobile */
  .modal-dialog {
    max-width: 95%;
    margin: var(--space-sm);
  }

  .modal-content {
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
  }

  .modal-header {
    padding: var(--space-sm) var(--space-sm) 0;
    border-bottom: none;
  }

  .modal-body {
    padding: var(--space-sm);
  }

  .modal-footer {
    padding: 0 var(--space-sm) var(--space-sm);
    border-top: none;
  }

  .modal-title {
    font-size: var(--font-size-lg);
  }

  /* Tables - Mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .table {
    font-size: var(--font-size-sm);
  }

  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
    white-space: nowrap;
  }

  .table th {
    font-size: var(--font-size-xs);
    font-weight: 600;
  }

  /* Tabs - Mobile Optimized */
  .nav-tabs {
    border: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--space-md);
  }

  .nav-tabs .nav-item {
    flex-shrink: 0;
  }

  .nav-tabs .nav-item .nav-link {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    margin-right: var(--space-xs);
  }

  .nav-tabs .nav-item .nav-link.active {
    background: var(--primary-color);
    color: white;
  }

  .defaultTabs .nav-tabs .nav-item .nav-link {
    font-size: 0.875rem;
  }

  .tabsMain .nav-tabs {
    width: 100%;
    justify-content: center;
  }

  .tabsMain .nav-tabs .nav-item {
    padding: 0 1rem;
  }

  .tabsMain .nav-tabs .nav-item .nav-link:after {
    width: 100%;
  }

  /* Cards & Content */
  .newsCard {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .newsCard figure {
    position: relative;
    margin: 0;
    overflow: hidden;
  }

  .newsCard figure img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  .newsCard:hover figure img {
    transform: scale(1.05);
  }

  /* Footer - Mobile Optimized */
  footer {
    padding: 2rem 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  }

  .footerLinks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footerLinks a {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
    color: white;
    text-decoration: none;
  }

  .footerLinks a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }

  /* Carousel Navigation */
  .owl-carousel .owl-nav .owl-prev {
    left: 85% !important;
    background: rgba(3, 25, 107, 0.9) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }

  .owl-carousel .owl-nav .owl-next {
    right: 5% !important;
    background: rgba(3, 25, 107, 0.9) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }

  /* Search Components */
  .search-form {
    margin-bottom: var(--space-md);
  }

  .search-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .search-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 16px;
  }

  .search-input:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
  }

  .find-button {
    padding: 0.875rem !important;
    width: 100% !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-md) !important;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(3, 25, 107, 0.15);
  }

  .find-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 25, 107, 0.25);
  }

  .find-button span {
    display: inline !important;
    margin-left: var(--space-xs);
  }

  .find-button i {
    font-size: 1.1rem !important;
  }

  /* Performance Optimizations */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
  .container-responsive {
    padding: 0 var(--space-xs);
  }

  .navbar {
    padding: 0 var(--space-xs);
  }

  .hero-title {
    font-size: var(--font-size-base);
  }

  .title-lg {
    font-size: var(--font-size-lg);
  }

  .title-md {
    font-size: var(--font-size-base);
  }

  .modal-title {
    font-size: var(--font-size-base);
  }

  .form-control {
    padding: 0.75rem 0.875rem;
    font-size: 16px;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
  }

  .card,
  .publication-card,
  .news-card {
    padding: var(--space-xs);
  }

  .msl-card-header-enhanced,
  .msl-card-body-enhanced,
  .msl-card-footer-enhanced {
    padding: var(--space-xs);
  }

  .form-container {
    padding: var(--space-xs);
  }

  .modal-content {
    padding: var(--space-xs);
  }
}

/* ===== COMPREHENSIVE HERO SECTION RESPONSIVE STYLES ===== */

/* Base Hero Section Styles */
.hero-section,
.hero-video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero Content Universal Styles */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Typography Base */
.hero-main-title,
.hero-title,
.hero-content h1 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.hero-description,
.home-hero-description,
.hero-search-container p {
  line-height: 1.6;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  opacity: 0.95;
  color: var(--white);
}

/* Video Background Styles */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  transition: opacity 1s ease-in-out;
}

.video-overlay,
.hero-section::before,
.hero-section::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 4K and Ultra Wide Displays (2560px+) */
@media (min-width: 2560px) {

  .hero-section,
  .hero-video-section {
    min-height: 100vh;
    padding: 200px 0 120px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(4rem, 6vw, 6rem);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    max-width: 1000px;
  }

  .hero-search-container p:first-child {
    font-size: 3rem;
  }

  .hero-search-container p:last-child {
    font-size: 1.75rem;
  }

  .hero-content {
    padding: 0 var(--space-3xl);
  }
}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {

  .hero-section,
  .hero-video-section {
    min-height: 60vh;
    padding: 180px 0 100px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 5rem);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    max-width: 950px;
  }

  .hero-search-container p:first-child {
    font-size: 2.5rem;
  }

  .hero-search-container p:last-child {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 0 var(--space-2xl);
  }
}

/* Standard Desktop (1367px - 1919px) */
@media (min-width: 1367px) and (max-width: 1919px) {

  .hero-section,
  .hero-video-section {
    min-height: 60vh;
    padding: 160px 0 80px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(3rem, 4vw, 4rem);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    max-width: 850px;
  }

  .hero-search-container p:first-child {
    font-size: 2.25rem;
  }

  .hero-search-container p:last-child {
    font-size: 1.375rem;
  }

  .hero-content {
    padding: 0 var(--space-xl);
  }
}

/* Small Desktop (1200px - 1366px) */
@media (min-width: 1200px) and (max-width: 1366px) {

  .hero-section,
  .hero-video-section {
    min-height: 60vh;
    padding: 140px 0 70px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    max-width: 800px;
  }

  .hero-search-container p:first-child {
    font-size: 2rem;
  }

  .hero-search-container p:last-child {
    font-size: 1.25rem;
  }

  .hero-content {
    padding: 0 var(--space-lg);
  }
}

/* Large Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

  .hero-section,
  .hero-video-section {
    min-height: 70vh;
    padding: 120px 0 60px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(2.25rem, 3vw, 3rem);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    max-width: 750px;
  }

  .hero-search-container {
    padding: 0 var(--space-md);
  }

  .hero-search-container p:first-child {
    font-size: 1.875rem;
  }

  .hero-search-container p:last-child {
    font-size: 1.125rem;
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  /* Video optimizations */
  .hero-video {
    opacity: 0.5;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {

  .hero-section,
  .hero-video-section {
    min-height: 60vh;
    padding: 100px 0 50px;
    background-attachment: scroll;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    margin-bottom: var(--space-md);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
    max-width: 650px;
    margin-bottom: var(--space-lg);
  }

  .hero-search-container {
    padding: 0 var(--space-sm);
  }

  .hero-search-container p:first-child {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .hero-search-container p:last-child {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .hero-content {
    padding: 0 var(--space-sm);
  }

  /* Remove line breaks on mobile */
  .home-hero-description br {
    display: none;
  }

  /* Video optimizations */
  .hero-video {
    opacity: 0.4;
  }
}

/* Large Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {

  .hero-section,
  .hero-video-section {
    min-height: 50vh;
    padding: 80px 0 40px;
    background-attachment: scroll;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    max-width: 550px;
    margin-bottom: var(--space-md);
    line-height: 1.5;
  }

  .hero-search-container {
    padding: 0 var(--space-xs);
  }

  .hero-search-container p:first-child {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
  }

  .hero-search-container p:last-child {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
  }

  .hero-content {
    padding: 0 var(--space-xs);
  }

  /* Video optimizations */
  .hero-video {
    opacity: 0.35;
  }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {

  .hero-section,
  .hero-video-section {
    min-height: 50vh;
    padding: 60px 0 30px;
    background-attachment: scroll;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin-bottom: var(--space-xs);
    line-height: 1.25;
    padding: 0 var(--space-xs);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    max-width: 100%;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    padding: 0 var(--space-xs);
  }

  .hero-search-container {
    padding: 0 var(--space-xs);
  }

  .hero-search-container p:first-child {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
  }

  .hero-search-container p:last-child {
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
  }

  .hero-content {
    padding: 0 var(--space-xs);
  }

  .hero-text-wrapper {
    max-width: 100%;
  }

  /* Remove line breaks */
  .home-hero-description br {
    display: none;
  }

  /* Video optimizations */
  .hero-video {
    opacity: 0.3;
  }

  /* Enhanced mobile overlay */
  .video-overlay {
    background: linear-gradient(135deg,
        rgba(3, 25, 107, 0.85) 0%,
        rgba(2, 20, 77, 0.8) 50%,
        rgba(227, 146, 61, 0.15) 100%);
  }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {

  .hero-section,
  .hero-video-section {
    min-height: 45vh;
    padding: 50px 0 25px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: var(--space-xs);
    padding: 0 var(--space-xs);
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(0.8125rem, 1vw, 0.9375rem);
    margin-bottom: var(--space-xs);
    padding: 0 var(--space-xs);
  }

  .hero-search-container p:first-child {
    font-size: 1rem;
  }

  .hero-search-container p:last-child {
    font-size: 0.8125rem;
  }

  .hero-content {
    padding: 0 var(--space-xs);
  }
}

/* ===== LANDSCAPE ORIENTATION OPTIMIZATIONS ===== */
@media (max-height: 500px) and (orientation: landscape) {

  .hero-section,
  .hero-video-section {
    min-height: 100vh;
    padding: 40px 0 20px;
  }

  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    font-size: clamp(1.25rem, 3vh, 2rem);
    margin-bottom: 0.5rem;
  }

  .hero-description,
  .home-hero-description {
    font-size: clamp(0.875rem, 2vh, 1.125rem);
    margin-bottom: 0.75rem;
  }

  .hero-search-container p:first-child {
    font-size: clamp(1rem, 2.5vh, 1.5rem);
    margin-bottom: 0.25rem;
  }

  .hero-search-container p:last-child {
    font-size: clamp(0.875rem, 2vh, 1rem);
    margin-bottom: 0.5rem;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 1024px) {

  /* Reduce video quality on mobile */
  .hero-video {
    will-change: opacity;
  }

  /* Simplify gradients on mobile */
  .video-overlay {
    backdrop-filter: blur(2px);
  }

  /* Optimize animations */
  .hero-text-wrapper {
    animation: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-text-wrapper {
      animation: none;
    }

    .hero-video {
      opacity: 0.2 !important;
    }
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (max-width: 768px) {

  /* Ensure text contrast */
  .hero-main-title,
  .hero-title,
  .hero-content h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  }

  .hero-description,
  .home-hero-description {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  }

  /* Focus states for interactive elements */
  .hero-content a:focus-visible {
    outline: 3px solid var(--warning-color);
    outline-offset: 2px;
    border-radius: 4px;
  }
}

/* ===== CONTACT PAGE RESPONSIVE STYLES ===== */
.contact-page-responsive {
  width: 100%;
  min-height: 100vh;
}

.contact-hero-responsive {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(80px, 15vh, 180px) 0 clamp(40px, 8vh, 80px);
}

.contact-container-responsive {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 10;
  margin-top: clamp(-15px, -4vw, -50px);
}

.contact-grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1rem, 3vw, 2rem);
}

.contact-card-responsive {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-responsive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.contact-title-responsive {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  position: relative;
  display: inline-block;
}

.contact-title-responsive::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: clamp(30px, 8vw, 50px);
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
}

.contact-text-responsive {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--gray-700);
}

/* ===== PUBLICATIONS TITLE RESPONSIVE STYLES ===== */
.publications-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg) 0;
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  position: relative;
  text-transform: uppercase;
}

.publications-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
  border-radius: 2px;
}

/* 4K and Ultra Wide Displays (2560px+) */
@media (min-width: 2560px) {
  .publications-title {
    font-size: 3rem;
    margin: var(--space-3xl) 0 var(--space-2xl) 0;
    letter-spacing: -0.02em;
  }

  .publications-title::after {
    width: 80px;
    height: 4px;
    bottom: -12px;
  }
}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .publications-title {
    font-size: 2.5rem;
    margin: var(--space-2xl) 0 var(--space-xl) 0;
  }

  .publications-title::after {
    width: 70px;
    height: 4px;
    bottom: -10px;
  }
}

/* Standard Desktop (1367px - 1919px) */
@media (min-width: 1367px) and (max-width: 1919px) {
  .publications-title {
    font-size: 2.25rem;
    margin: var(--space-xl) 0 var(--space-lg) 0;
  }
}

/* Small Desktop (1200px - 1366px) */
@media (min-width: 1200px) and (max-width: 1366px) {
  .publications-title {
    font-size: 2rem;
    margin: var(--space-lg) 0 var(--space-md) 0;
  }
}

/* Large Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .publications-title {
    font-size: 1.875rem;
    margin: var(--space-lg) 0 var(--space-md) 0;
  }

  .publications-title::after {
    width: 50px;
    height: 3px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .publications-title {
    font-size: 1.75rem;
    margin: var(--space-md) 0 var(--space-sm) 0;
    padding: 0 var(--space-md);
  }

  .publications-title::after {
    width: 45px;
    height: 3px;
  }
}

/* Large Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .publications-title {
    font-size: 1.5rem;
    margin: var(--space-md) 0 var(--space-sm) 0;
    padding: 0 var(--space-sm);
  }

  .publications-title::after {
    width: 40px;
    height: 2px;
    bottom: -6px;
  }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
  .publications-title {
    font-size: 1.25rem;
    margin: var(--space-sm) 0 var(--space-xs) 0;
    padding: 0 var(--space-sm);
    line-height: 1.3;
  }

  .publications-title::after {
    width: 35px;
    height: 2px;
    bottom: -6px;
  }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
  .publications-title {
    font-size: 1.125rem;
    margin: var(--space-xs) 0;
    padding: 0 var(--space-xs);
  }

  .publications-title::after {
    width: 30px;
    height: 2px;
  }
}

/* ===== ENHANCED ACCESSIBILITY & TOUCH TARGETS ===== */
@media (max-width: 1024px) {

  /* Skip to main content */
  .skip-to-content {
    position: absolute;
    top: -50px;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: var(--z-tooltip);
    transition: top 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
  }

  .skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--warning-color);
    outline-offset: 2px;
  }

  /* Enhanced Touch Targets */
  button,
  [role="button"],
  a[role="button"],
  .btn,
  .nav-link,
  .form-check-label,
  .form-control,
  .form-select,
  .dropdown-item,
  .pagination .page-link {
    min-height: 44px;
    min-width: 44px;
    position: relative;
  }

  /* Interactive Elements Spacing */
  .form-check+.form-check {
    margin-top: 0.75rem;
  }

  /* Enhanced Focus States */
  *:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .btn:focus-visible {
    outline: 3px solid var(--warning-color);
    outline-offset: 2px;
  }

  /* Loading States */
  .loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
  }

  .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-200);
    border-top: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar,
  .footer,
  .btn,
  .modal,
  .carousel,
  .owl-carousel {
    display: none !important;
  }

  .container-responsive {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .card,
  .publication-card {
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }
}



/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .carousel,
  .owl-carousel {
    transform: none !important;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }

  .card,
  .publication-card,
  .news-card {
    border: 2px solid currentColor;
  }

  .form-control {
    border: 2px solid currentColor;
  }
}

/* ===== LANDSCAPE ORIENTATION FIXES ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: var(--space-md) 0;
  }

  .modal-dialog {
    max-height: 90vh;
    overflow-y: auto;
  }

  .navbar-nav {
    max-height: 300px;
    overflow-y: auto;
  }
}

/ *=====SEARCH ICON HIDE=====*/ .search-icon {
  display: none !important;
}

/* =
==== HIDE SEARCH ICON IN HERO CONTAINER ===== */
.hero-search-container .search-icon {
  display: none !important;
}

/* ===
== REPORTING CARDS RESPONSIVE ENHANCEMENTS ===== */

/* Large Desktop and 4K Displays */
@media (min-width: 1920px) {
  .reporting-cards {
    padding-left: 2rem;
  }

  .adverse-card,
  .quality-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 1.25rem;
  }

  .card-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .contact-row {
    font-size: 1rem;
    gap: 1rem;
  }

  .contact-row i {
    font-size: 1.2rem;
    width: 24px;
  }
}

/* Standard Desktop */
@media (min-width: 1367px) and (max-width: 1919px) {
  .reporting-cards {
    padding-left: 1.5rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border-radius: 1.125rem;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }

  .contact-row {
    font-size: 0.95rem;
    gap: 0.875rem;
  }

  .contact-row i {
    font-size: 1.1rem;
    width: 22px;
  }
}

/* Small Desktop */
@media (min-width: 1200px) and (max-width: 1366px) {
  .reporting-cards {
    padding-left: 1.25rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .contact-row {
    font-size: 0.9rem;
    gap: 0.75rem;
  }

  .contact-row i {
    font-size: 1rem;
    width: 20px;
  }
}

/* Large Tablet Landscape */
@media (min-width: 992px) and (max-width: 1199px) {
  .reporting-cards {
    padding-left: 0;
    margin-top: 2rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.1),
      0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .card-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 650;
  }

  .contact-row {
    font-size: 0.875rem;
    gap: 0.75rem;
    justify-content: center;
  }

  .contact-row i {
    font-size: 1rem;
    width: 20px;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
  .reporting-cards {
    padding: 0;
    margin-top: 1.5rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
      0 5px 18px rgba(0, 0, 0, 0.08),
      0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .adverse-card:hover,
  .quality-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.12),
      0 3px 8px rgba(0, 0, 0, 0.06);
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
    letter-spacing: 0.4px;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-row {
    font-size: 0.875rem;
    gap: 0.625rem;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
    color: #64748b;
    line-height: 1.4;
  }

  .contact-row i {
    font-size: 1rem;
    width: 18px;
    color: #64748b;
    flex-shrink: 0;
  }

  .contact-row span {
    flex: 1;
  }

  .contact-row a {
    color: #64748b;
    text-decoration: underline;
    transition: color 0.2s ease;
  }

  .contact-row a:hover {
    color: #475569;
    text-decoration: none;
  }
}

/* Large Mobile Landscape */
@media (min-width: 576px) and (max-width: 767px) {
  .reporting-cards {
    padding: 0;
    margin-top: 1.25rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1.125rem;
    margin-bottom: 1.125rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
  }

  .adverse-card:hover,
  .quality-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.12),
      0 2px 6px rgba(0, 0, 0, 0.06);
  }

  .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 650;
    color: #475569;
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  .contact-info {
    gap: 0.7rem;
  }

  .contact-row {
    font-size: 0.825rem;
    gap: 0.55rem;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: #64748b;
    line-height: 1.4;
  }

  .contact-row i {
    font-size: 0.95rem;
    width: 17px;
    color: #64748b;
    flex-shrink: 0;
  }

  .contact-row span {
    word-break: break-word;
  }

  .contact-row a {
    color: #64748b;
    text-decoration: underline;
    word-break: break-all;
  }

  .contact-row a:hover {
    color: #475569;
    text-decoration: none;
  }
}

/* Mobile Portrait - Enhanced */
@media (max-width: 575px) {
  .reporting-cards {
    padding: 0;
    margin-top: 1rem;
  }

  .adverse-card,
  .quality-card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.1),
      0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .adverse-card::before,
  .quality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(59, 130, 246, 0.8) 0%,
        rgba(147, 197, 253, 0.6) 100%);
    z-index: 1;
  }

  .adverse-card:hover,
  .quality-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.15),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .card-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
  }

  .card-content {
    position: relative;
    z-index: 2;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    text-align: center;
  }

  .contact-row {
    font-size: 0.8rem;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
    align-items: center;
    line-height: 1.4;
    color: #64748b;
    flex-wrap: wrap;
    padding: 0.125rem 0;
  }

  .contact-row i {
    font-size: 0.9rem;
    width: 16px;
    color: #64748b;
    flex-shrink: 0;
    opacity: 0.9;
  }

  .contact-row span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    hyphens: auto;
  }

  .contact-row a {
    color: #64748b;
    text-decoration: underline;
    word-break: break-all;
    transition: all 0.2s ease;
  }

  .contact-row a:hover {
    color: #475569;
    text-decoration: none;
  }

  /* Enhanced spacing for mobile */
  .contact-row:not(:last-child) {
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  .reporting-cards {
    margin-top: 0.75rem;
  }

  .adverse-card,
  .quality-card {
    padding: 0.875rem;
    margin-bottom: 0.875rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
      0 3px 15px rgba(0, 0, 0, 0.08),
      0 1px 2px rgba(0, 0, 0, 0.04);
  }

  .card-title {
    font-size: 0.85rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .contact-info {
    gap: 0.5rem;
  }

  .contact-row {
    font-size: 0.75rem;
    gap: 0.375rem;
    line-height: 1.3;
    padding: 0.125rem 0;
  }

  .contact-row i {
    font-size: 0.8rem;
    width: 14px;
  }

  .contact-row span {
    word-break: break-word;
    hyphens: auto;
  }

  /* Stack elements more compactly */
  .contact-row:first-child {
    margin-bottom: 0.25rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {

  .adverse-card,
  .quality-card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
  }

  .card-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .contact-row {
    font-size: 0.7rem;
    gap: 0.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.25rem 0;
  }

  .contact-row i {
    font-size: 0.75rem;
    margin-bottom: 0.125rem;
    width: auto;
  }

  .contact-row span {
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
  }

  .contact-row:not(:last-child) {
    margin-bottom: 0.375rem;
    padding-bottom: 0.375rem;
  }
}

/* ===== REPORTING CARDS ACCESSIBILITY ENHANCEMENTS ===== */
@media (max-width: 1024px) {

  .adverse-card,
  .quality-card {
    /* Enhanced focus states for touch devices */
    position: relative;
  }

  .adverse-card:focus-within,
  .quality-card:focus-within {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
  }

  .contact-row a:focus {
    outline: 2px solid rgba(59, 130, 246, 0.8);
    outline-offset: 1px;
    border-radius: 3px;
    background: rgba(59, 130, 246, 0.1);
  }

  /* Enhanced touch targets */
  .contact-row a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .contact-row a:hover,
  .contact-row a:focus {
    background: rgba(59, 130, 246, 0.05);
  }
}

/* ===== REPORTING CARDS ANIMATION ENHANCEMENTS ===== */
@media (max-width: 768px) {

  .adverse-card,
  .quality-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
  }

  .adverse-card {
    animation-delay: 0.1s;
  }

  .quality-card {
    animation-delay: 0.2s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== REPORTING CARDS REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {

  .adverse-card,
  .quality-card {
    animation: none !important;
    transition: none !important;
  }

  .adverse-card:hover,
  .quality-card:hover {
    transform: none !important;
  }
}

/* ====
= FIND MSL SECTION RESPONSIVE ENHANCEMENTS ===== */

/* Large Desktop and 4K Displays */
@media (min-width: 1920px) {
  .find-msl-section {
    padding: 6rem 0;
  }

  .msl-search-container {
    max-width: 1400px;
    padding: 0 3rem;
  }

  .msl-section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
  }

  .form-row {
    padding: 1.5rem;
    border-radius: 2rem;
    gap: 1.5rem;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 1rem;
  }

  .search-button-compact {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    min-width: 160px;
  }
}

/* Standard Desktop */
@media (min-width: 1367px) and (max-width: 1919px) {
  .find-msl-section {
    padding: 5rem 0;
  }

  .msl-search-container {
    max-width: 1200px;
    padding: 0 2.5rem;
  }

  .msl-section-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
  }

  .form-row {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .search-button-compact {
    min-width: 140px;
  }
}

/* Small Desktop */
@media (min-width: 1200px) and (max-width: 1366px) {
  .find-msl-section {
    padding: 4.5rem 0;
  }

  .msl-search-container {
    max-width: 1100px;
    padding: 0 2rem;
  }

  .msl-section-title {
    font-size: 2.75rem;
    margin-bottom: 2.25rem;
  }

  .search-button-compact {
    min-width: 130px;
  }
}

/* Large Tablet Landscape */
@media (min-width: 992px) and (max-width: 1199px) {
  .find-msl-section {
    padding: 4rem 0;
    min-height: 70vh;
  }

  .msl-search-container {
    max-width: 900px;
    padding: 0 1.5rem;
  }

  .msl-section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .search-form-compact {
    max-width: 700px;
  }

  .form-row {
    padding: 1rem;
    gap: 1rem;
    border-radius: 1.25rem;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .search-button-compact {
    padding: 0.875rem 1.25rem;
    min-width: 120px;
    font-size: 0.95rem;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
  .find-msl-section {
    padding: 3.5rem 0;
    min-height: 80vh;
  }

  .msl-search-container {
    max-width: 95%;
    padding: 0 1.5rem;
  }

  .msl-section-title {
    font-size: 2.25rem;
    margin-bottom: 1.75rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .search-form-compact {
    max-width: 600px;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow:
      0 10px 40px rgba(8, 145, 178, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.4);
  }

  .form-field-compact {
    width: 100%;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.875rem;
    border: 2px solid rgba(8, 145, 178, 0.25);
  }

  .search-button-compact {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.875rem;
    min-width: auto;
  }
}

/* Large Mobile Landscape */
@media (min-width: 576px) and (max-width: 767px) {
  .find-msl-section {
    padding: 3rem 0;
    min-height: 75vh;
    display: flex;
    align-items: center;
  }

  .world-map-background {
    opacity: 0.8;
  }

  .world-map-image {
    opacity: 0.15;
    object-position: center;
  }

  .map-overlay {
    background: linear-gradient(135deg,
        rgba(2, 3, 58, 0.7) 0%,
        rgba(11, 6, 75, 0.6) 50%,
        rgba(2, 3, 58, 0.8) 100%);
    backdrop-filter: blur(2px);
  }

  .msl-search-container {
    max-width: 95%;
    padding: 0 1.25rem;
  }

  .msl-section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    font-weight: 800;
  }

  .search-form-compact {
    max-width: 500px;
  }

  .form-row {
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow:
      0 8px 32px rgba(8, 145, 178, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(8, 145, 178, 0.3);
  }

  .form-field-compact {
    width: 100%;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(8, 145, 178, 0.2);
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .form-field-compact input:focus,
  .form-field-compact select:focus {
    border-color: rgba(8, 145, 178, 0.6);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
    transform: translateY(-1px);
  }

  .search-button-compact {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    min-width: auto;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  }

  .search-button-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
  }
}

/* Mobile Portrait - Enhanced */
@media (max-width: 575px) {
  .find-msl-section {
    padding: 2.5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .world-map-background {
    opacity: 0.9;
  }

  .world-map-image {
    opacity: 0.12;
    object-position: center;
    transform: scale(1.1);
  }

  .map-overlay {
    background: linear-gradient(135deg,
        rgba(2, 3, 58, 0.8) 0%,
        rgba(11, 6, 75, 0.7) 30%,
        rgba(2, 3, 58, 0.85) 70%,
        rgba(2, 3, 58, 0.9) 100%);
    backdrop-filter: blur(3px);
  }

  .msl-search-container {
    max-width: 95%;
    padding: 0 1rem;
    width: 100%;
  }

  .search-content {
    text-align: center;
    width: 100%;
  }

  .msl-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
  }

  .search-form-compact {
    max-width: 100%;
    width: 100%;
  }

  .msl-search-form {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow:
      0 8px 32px rgba(8, 145, 178, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(8, 145, 178, 0.25);
    width: 100%;
  }

  .form-field-compact {
    width: 100%;
  }

  .form-field-compact input,
  .form-field-compact select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 16px;
    /* Prevents iOS zoom */
    border-radius: 0.625rem;
    border: 2px solid rgba(8, 145, 178, 0.25);
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
  }

  .form-field-compact input:focus,
  .form-field-compact select:focus {
    outline: none;
    border-color: rgba(8, 145, 178, 0.7);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
    transform: translateY(-1px);
  }

  .form-field-compact input::placeholder {
    color: rgba(8, 145, 178, 0.6);
    font-weight: 400;
  }

  .search-button-compact {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.625rem;
    min-width: auto;
    font-weight: 700;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .search-button-compact:hover,
  .search-button-compact:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  }

  .search-button-compact i {
    font-size: 1rem;
  }

  .search-button-compact span {
    font-size: 0.95rem;
    font-weight: 700;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .find-msl-section {
    padding: 2rem 0;
    min-height: 65vh;
  }

  .msl-search-container {
    padding: 0 0.75rem;
  }

  .msl-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  }

  .form-row {
    padding: 0.875rem;
    gap: 0.625rem;
    border-radius: 0.875rem;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 0.75rem 0.875rem;
    font-size: 16px;
    border-radius: 0.5rem;
  }

  .search-button-compact {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    min-height: 44px;
  }

  .search-button-compact i {
    font-size: 0.9rem;
  }

  .search-button-compact span {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .find-msl-section {
    padding: 1.5rem 0;
    min-height: 60vh;
  }

  .msl-search-container {
    padding: 0 0.5rem;
  }

  .msl-section-title {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    line-height: 1.1;
  }

  .form-row {
    padding: 0.75rem;
    gap: 0.5rem;
    border-radius: 0.75rem;
  }

  .form-field-compact input,
  .form-field-compact select {
    padding: 0.625rem 0.75rem;
    font-size: 16px;
    border-radius: 0.375rem;
  }

  .search-button-compact {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 0.375rem;
    min-height: 42px;
  }

  .search-button-compact i {
    font-size: 0.85rem;
  }

  .search-button-compact span {
    font-size: 0.85rem;
  }
}

/* ===== FIND MSL SECTION ACCESSIBILITY ENHANCEMENTS ===== */
@media (max-width: 1024px) {

  .form-field-compact input,
  .form-field-compact select {
    /* Enhanced touch targets */
    min-height: 44px;
  }

  .search-button-compact {
    /* Enhanced touch target */
    min-height: 48px;
    min-width: 48px;
  }

  .form-field-compact input:focus,
  .form-field-compact select:focus {
    /* Enhanced focus visibility */
    outline: 3px solid rgba(8, 145, 178, 0.3);
    outline-offset: 2px;
  }

  .search-button-compact:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }
}

/* ===== FIND MSL SECTION ANIMATION ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .msl-section-title {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
  }

  .form-row {
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== FIND MSL SECTION REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {

  .msl-section-title,
  .form-row {
    animation: none !important;
  }

  .form-field-compact input:focus,
  .form-field-compact select:focus,
  .search-button-compact:hover {
    transform: none !important;
  }

  .form-row:hover {
    transform: none !important;
  }
}

/* ===== FIND MSL SECTION LANDSCAPE ORIENTATION ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .find-msl-section {
    min-height: 100vh;
    padding: 1.5rem 0;
  }

  .msl-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .form-row {
    padding: 0.75rem;
  }
}

/*
 ===== ENHANCED HERO-CONTENT STYLES FOR SMALL MOBILE SCREENS ===== */

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-content {
    padding: 1rem 0.75rem !important;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-content .container {
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .hero-content .row {
    margin: 0;
  }

  .hero-content .col-lg-10,
  .hero-content .col-md-10,
  .hero-content .col-sm-12 {
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .hero-text-wrapper {
    padding: 0;
    max-width: 100%;
  }

  /* Hero Titles - Mobile Optimized */
  .hero-content h1,
  .hero-main-title,
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero-content h2 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-content h3 {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }

  /* Hero Description - Mobile */
  .hero-description,
  .home-hero-description,
  .hero-content p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.5rem;
    max-width: 100%;
  }

  /* Hero Search Container - Mobile */
  .hero-search-container {
    padding: 0 0.5rem;
    margin: 1rem 0;
  }

  .hero-search-container p:first-child {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-search-container p:last-child {
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
  }

  /* Search Card - Mobile */
  .search-card {
    padding: 1rem 0.75rem;
    margin: 0 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .search-input-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-input {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }

  .search-input:focus {
    outline: none !important;
  }

  .find-button {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    min-height: 48px !important;
  }

  .find-button:hover {
    transform: translateY(-1px);
  }

  /* Hero Buttons - Mobile */
  .hero-content .btn,
  .hero-content button {
    width: 100%;
    max-width: 280px;
    margin: 0.5rem auto;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    display: block;
    min-height: 48px;
  }

  .hero-content .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .hero-content .btn-group .btn {
    width: 100%;
    margin: 0.25rem 0;
  }

  /* Hero Links - Mobile */
  .hero-content a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .hero-content a:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
  }

  /* Title Lines and Highlights - Mobile */
  .title-line {
    display: block;
    margin-bottom: 0.25rem;
  }

  .title-highlight {
    display: inline-block;
    padding: 0 0.25rem;
  }

  /* Hero Content Spacing - Mobile */
  .hero-content>* {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .text-center {
    text-align: center !important;
  }

  .hero-content .justify-content-center {
    justify-content: center !important;
  }
}

/* Very Small Mobile Devices (max-width: 360px) */
@media (max-width: 360px) {
  .hero-content {
    padding: 0.75rem 0.5rem !important;
  }

  .hero-content .container {
    padding: 0 0.25rem;
  }

  .hero-content .col-lg-10,
  .hero-content .col-md-10,
  .hero-content .col-sm-12 {
    padding: 0 0.25rem;
  }

  /* Even Smaller Text for Tiny Screens */
  .hero-content h1,
  .hero-main-title,
  .hero-title {
    font-size: 1.375rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
    padding: 0 0.25rem;
  }

  .hero-description,
  .home-hero-description,
  .hero-content p {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 0.25rem;
  }

  .hero-search-container p:first-child {
    font-size: 1.125rem !important;
  }

  .hero-search-container p:last-child {
    font-size: 0.8125rem !important;
  }

  .search-card {
    padding: 0.75rem 0.5rem;
    margin: 0 0.25rem;
  }

  .search-input {
    padding: 0.75rem 0.875rem !important;
    font-size: 16px !important;
  }

  .find-button {
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    min-height: 44px !important;
  }

  .hero-content .btn,
  .hero-content button {
    max-width: 260px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    min-height: 44px;
  }
}

/* Landscape Orientation for Small Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-content {
    padding: 0.75rem 1rem !important;
  }

  .hero-content h1,
  .hero-main-title,
  .hero-title {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-description,
  .home-hero-description,
  .hero-content p {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-search-container {
    margin: 0.75rem 0;
  }

  .search-card {
    padding: 0.75rem;
  }

  .search-input-group {
    flex-direction: row;
    gap: 0.5rem;
  }

  .search-input {
    flex: 1;
    min-width: 0;
  }

  .find-button {
    width: auto !important;
    min-width: 100px;
    flex-shrink: 0;
  }

  .hero-content .btn-group {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content .btn-group .btn {
    width: auto;
    min-width: 120px;
    margin: 0.25rem;
  }
}

/* High DPI Mobile Screens */
@media (max-width: 575px) and (-webkit-min-device-pixel-ratio: 2) {
  .hero-content {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .hero-content h1,
  .hero-main-title,
  .hero-title {
    text-rendering: optimizeLegibility;
  }

  .search-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
}

/* Accessibility Improvements for Mobile */
@media (max-width: 575px) {
  .hero-content *:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
    border-radius: 4px;
  }

  .hero-content button:focus-visible,
  .hero-content .btn:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
  }

  /* Ensure touch targets are at least 44px */
  .hero-content button,
  .hero-content .btn,
  .hero-content a[role="button"],
  .hero-content input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve text contrast on mobile */
  .hero-content {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero-content h1,
  .hero-main-title,
  .hero-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }
}

/* Performance Optimizations for Mobile Hero */
@media (max-width: 575px) {
  .hero-content * {
    will-change: auto;
  }

  .hero-content img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-content video {
    max-width: 100%;
    height: auto;
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {

    .hero-content *,
    .hero-content *::before,
    .hero-content *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/*
 ===== ENHANCED CONTACT-CONTAINER STYLES FOR SMALL MOBILE SCREENS ===== */

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .contact-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.5rem 0.25rem !important;
    padding: 1rem 0.75rem !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  /* Contact Container Grid Layout */
  .contact-container .row {
    margin: 0 !important;
    gap: 1rem;
  }

  .contact-container .col-md-6,
  .contact-container .col-lg-6,
  .contact-container .col-sm-12 {
    padding: 0 0.5rem !important;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* Contact Info Cards - Mobile */
  .contact-info {
    padding: 1rem 0.875rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease !important;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left !important;
  }

  .contact-info:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .contact-info-1,
  .contact-info-2,
  .contact-info-3,
  .contact-info-4 {
    width: 100%;
    margin-bottom: 1rem;
    text-align: left !important;
  }

  /* Specific mobile alignment fixes for contact info cards */
  .contact-info-1 p,
  .contact-info-1 a,
  .contact-info-1 .contact-title {
    text-align: left !important;
  }

  .contact-info-2 p,
  .contact-info-2 a,
  .contact-info-2 .contact-title {
    text-align: left !important;
  }

  .contact-info-3 p,
  .contact-info-3 a,
  .contact-info-3 .contact-title {
    text-align: left !important;
  }

  .contact-info-4 p,
  .contact-info-4 a,
  .contact-info-4 .contact-title {
    text-align: left !important;
  }

  /* Contact Titles - Mobile */
  .contact-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.875rem !important;
    line-height: 1.3 !important;
    color: inherit;
    text-align: left !important;
  }

  .contact-title::after {
    content: '';
    display: block;
    width: 40px !important;
    height: 2px !important;
    margin-top: 0.5rem;
    border-radius: 1px;
  }

  /* Contact Content - Mobile */
  .contact-info p {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    word-wrap: break-word;
    text-align: left !important;
  }

  .contact-info a {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    word-break: break-word;
    display: inline-block;
    padding: 0.25rem 0;
    transition: all 0.2s ease;
    text-align: left !important;
  }

  .contact-info a:hover {
    transform: translateX(2px);
  }

  /* Contact Icons - Mobile */
  .contact-info i,
  .contact-info .fas,
  .contact-info .far {
    font-size: 1.125rem !important;
    margin-right: 0.75rem !important;
    width: 20px;
    text-align: center;
    vertical-align: middle;
  }

  /* Contact Buttons - Mobile */
  .contact-info .btn,
  .contact-container .btn {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0.5rem auto !important;
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    display: block !important;
    min-height: 48px !important;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .contact-info .btn:hover,
  .contact-container .btn:hover {
    transform: translateY(-1px);
  }

  /* Contact Form Elements - Mobile */
  .contact-container .form-group {
    margin-bottom: 1rem;
  }

  .contact-container .form-control {
    padding: 0.875rem 1rem !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    min-height: 48px;
  }

  .contact-container .form-control:focus {
    outline: none !important;
    transform: translateY(-1px);
  }

  .contact-container textarea.form-control {
    min-height: 120px !important;
    resize: vertical;
  }

  .contact-container .form-label {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: block;
  }

  /* Contact Lists - Mobile */
  .contact-container ul {
    padding-left: 0 !important;
    list-style: none;
  }

  .contact-container li {
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .contact-container li:last-child {
    border-bottom: none;
  }

  .contact-container li i {
    flex-shrink: 0;
    margin-top: 0.125rem;
  }

  /* Contact Address - Mobile */
  .contact-address {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }

  /* Contact Hours - Mobile */
  .contact-hours {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

  .contact-hours strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
  }
}

/* Mobile Text Alignment Fix for All Contact Info Cards */
@media (max-width: 991px) {

  .contact-info,
  .contact-info-1,
  .contact-info-2,
  .contact-info-3,
  .contact-info-4 {
    text-align: left !important;
  }

  .contact-info * {
    text-align: left !important;
  }

  .contact-info .contact-title,
  .contact-info p,
  .contact-info a,
  .contact-info strong {
    text-align: left !important;
  }

  /* Ensure proper alignment for all text elements */
  .contact-container .contact-info h1,
  .contact-container .contact-info h2,
  .contact-container .contact-info h3,
  .contact-container .contact-info h4,
  .contact-container .contact-info h5,
  .contact-container .contact-info h6 {
    text-align: left !important;
  }
}

/* Very Small Mobile Devices (max-width: 360px) */
@media (max-width: 360px) {
  .contact-container {
    margin: 0.25rem 0.125rem !important;
    padding: 0.875rem 0.625rem !important;
  }

  .contact-container .col-md-6,
  .contact-container .col-lg-6,
  .contact-container .col-sm-12 {
    padding: 0 0.25rem !important;
  }

  .contact-info {
    padding: 0.875rem 0.75rem !important;
    font-size: 13px !important;
    text-align: left !important;
  }

  .contact-info-1,
  .contact-info-2,
  .contact-info-3,
  .contact-info-4 {
    text-align: left !important;
  }

  .contact-title {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .contact-title::after {
    width: 35px !important;
  }

  .contact-info p {
    font-size: 0.8125rem !important;
    margin-bottom: 0.625rem !important;
  }

  .contact-info a {
    font-size: 0.8125rem !important;
  }

  .contact-info i,
  .contact-info .fas,
  .contact-info .far {
    font-size: 1rem !important;
    margin-right: 0.625rem !important;
    width: 18px;
  }

  .contact-info .btn,
  .contact-container .btn {
    max-width: 260px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9375rem !important;
    min-height: 44px !important;
  }

  .contact-container .form-control {
    padding: 0.75rem 0.875rem !important;
    font-size: 16px !important;
    min-height: 44px;
  }

  .contact-container textarea.form-control {
    min-height: 100px !important;
  }

  .contact-container .form-label {
    font-size: 0.875rem !important;
  }

  .contact-address,
  .contact-hours {
    font-size: 0.8125rem !important;
  }
}

/* Landscape Orientation for Small Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .contact-container {
    margin: 0.5rem !important;
    padding: 0.875rem 1rem !important;
  }

  .contact-container .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .contact-container .col-md-6 {
    flex: 1;
    min-width: 280px;
    margin-bottom: 0.75rem;
  }

  .contact-info {
    padding: 0.875rem !important;
    margin-bottom: 0.75rem !important;
    text-align: left !important;
  }

  .contact-info-1,
  .contact-info-2,
  .contact-info-3,
  .contact-info-4 {
    text-align: left !important;
  }

  .contact-title {
    font-size: 1rem !important;
    margin-bottom: 0.625rem !important;
  }

  .contact-info p {
    font-size: 0.8125rem !important;
    margin-bottom: 0.5rem !important;
  }

  .contact-info .btn,
  .contact-container .btn {
    width: auto !important;
    min-width: 140px !important;
    margin: 0.25rem 0.5rem 0.25rem 0 !important;
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
  }

  .contact-container .form-control {
    padding: 0.625rem 0.875rem !important;
  }

  .contact-container textarea.form-control {
    min-height: 80px !important;
  }
}

/* High DPI Mobile Screens */
@media (max-width: 575px) and (-webkit-min-device-pixel-ratio: 2) {
  .contact-container {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .contact-info {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .contact-title {
    text-rendering: optimizeLegibility;
  }
}

/* Accessibility Improvements for Mobile Contact */
@media (max-width: 575px) {
  .contact-container *:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .contact-container button:focus-visible,
  .contact-container .btn:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.8);
    outline-offset: 2px;
  }

  .contact-container input:focus-visible,
  .contact-container textarea:focus-visible,
  .contact-container select:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.6);
    outline-offset: 1px;
  }

  /* Ensure touch targets are at least 44px */
  .contact-container button,
  .contact-container .btn,
  .contact-container a[role="button"],
  .contact-container input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }

  .contact-container input,
  .contact-container textarea,
  .contact-container select {
    min-height: 44px;
  }

  /* Improve clickable area for links */
  .contact-info a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.25rem;
    margin: -0.25rem 0;
  }
}

/* Performance Optimizations for Mobile Contact */
@media (max-width: 575px) {
  .contact-container * {
    will-change: auto;
  }

  .contact-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {

    .contact-container *,
    .contact-container *::before,
    .contact-container *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .contact-info:hover,
    .contact-container .btn:hover,
    .contact-info a:hover {
      transform: none !important;
    }
  }
}

/* Contact Container Loading States - Mobile */
@media (max-width: 575px) {
  .contact-container.loading {
    opacity: 0.7;
    pointer-events: none;
  }

  .contact-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
}

/* Contact Container Error States - Mobile */
@media (max-width: 575px) {
  .contact-container .error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgba(239, 68, 68, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .contact-container .success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: rgba(16, 185, 129, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .contact-container .error-message i,
  .contact-container .success-message i {
    font-size: 1rem;
    flex-shrink: 0;
  }
}