/* WestNord - Professional Banking Design */

:root {
  --primary-blue: #1973b8;
  --secondary-blue: #0052a3;
  --light-blue: #e8f1f9;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --text-dark: #1f1f1f;
  --text-light: #666666;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
  --border: #d0d0d0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-gray);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-blue);
}

/* ===== NAVBAR STYLING ===== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  border-bottom: 1px solid var(--medium-gray);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar-menu {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--light-blue);
}

.nav-link.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--light-blue);
  color: var(--primary-blue);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.user-button:hover {
  background-color: #d4e8f5;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  z-index: 1001;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  color: var(--text-dark);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--medium-gray);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
}

.dropdown-item.logout {
  color: var(--danger);
}

.dropdown-item.logout:hover {
  background-color: #ffe8e8;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    width: 100%;
    gap: 0;
    margin: 0;
    border-bottom: 1px solid var(--medium-gray);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    padding: 16px 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--medium-gray);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background-color: var(--light-blue);
  }

  .hamburger {
    display: flex;
  }

  .navbar-container {
    height: auto;
    padding: 15px 20px;
  }
}

/* ===== GENERAL COMPONENTS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
  border-bottom: 1px solid var(--medium-gray);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(25, 115, 184, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--light-blue);
}

.btn-secondary {
  background-color: var(--light-gray);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--medium-gray);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--white);
}

/* Utility: ensure page content clears sticky navbar */
.page-offset {
  padding-top: 120px; /* larger offset to clear sticky navbar */
}

@media (max-width: 992px) {
  .page-offset {
    padding-top: 140px; /* account for mobile expanded menu */
  }
}

@media (max-width: 480px) {
  .page-offset {
    padding-top: 120px;
  }
}

/* Spacer that matches the navbar height so content never sits under the sticky header */
.navbar-spacer {
  height: 70px; /* match .navbar-container height */
}

@media (max-width: 768px) {
  .navbar-spacer {
    height: 95px; /* account for expanded mobile navbar */
  }
}

@media (max-width: 480px) {
  .navbar-spacer {
    height: 110px;
  }
}

.btn-danger:hover {
  background-color: #c0392b;
}

.btn-success {
  background-color: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background-color: #229954;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label.required::after {
  content: " *";
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(25, 115, 184, 0.1);
}

.form-control:disabled {
  background-color: var(--light-gray);
  cursor: not-allowed;
}

.form-text {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
}

.form-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 5px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid;
}

.alert-success {
  background-color: #ebf8f0;
  color: #145a32;
  border-left-color: var(--success);
}

.alert-danger {
  background-color: #fadbd8;
  color: #78281f;
  border-left-color: var(--danger);
}

.alert-warning {
  background-color: #fcf3cf;
  color: #7e6914;
  border-left-color: var(--warning);
}

.alert-info {
  background-color: var(--light-blue);
  color: #0a3a66;
  border-left-color: var(--primary-blue);
}

.alert-icon {
  margin-top: 2px;
}

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.stat-change {
  font-size: 12px;
  margin-top: 8px;
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--danger);
}

/* ===== TABLES ===== */
.table-container {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
}

.table th {
  background-color: var(--light-gray);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--medium-gray);
}

.table tbody tr:hover {
  background-color: var(--light-gray);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== HEADINGS ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 600;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

/* ===== SPACING UTILITIES ===== */
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}

.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-1 {
  padding: 8px;
}
.p-2 {
  padding: 16px;
}
.p-3 {
  padding: 24px;
}
.p-4 {
  padding: 32px;
}

/* ===== TEXT UTILITIES ===== */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary-blue);
}
.text-success {
  color: var(--success);
}
.text-danger {
  color: var(--danger);
}
.text-warning {
  color: var(--warning);
}
.text-muted {
  color: var(--text-light);
}

.text-sm {
  font-size: 12px;
}
.text-lg {
  font-size: 18px;
}
.text-xl {
  font-size: 24px;
}

.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-normal {
  font-weight: 400;
}

/* ===== FLEX UTILITIES ===== */
.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.gap-1 {
  gap: 8px;
}
.gap-2 {
  gap: 16px;
}
.gap-3 {
  gap: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar-menu {
    gap: 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .card {
    padding: 15px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  .table {
    font-size: 12px;
  }

  .table th,
  .table td {
    padding: 10px 12px;
  }

  .btn {
    width: 100%;
  }
}

:root {
  --primary-blue: #1973b8;
  --secondary-green: #008000;
  --dark-gray: #333333;
  --light-gray: #f9f9f9;
  --border-gray: #ddd;
  --success: #008000;
  --error: #d32f2f;
  --warning: #ff9800;
  --info: #1973b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--dark-gray);
  background-color: #f5f7fa;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark-gray);
}

h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1560a0;
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #1560a0;
  box-shadow: 0 4px 12px rgba(25, 115, 184, 0.3);
}

.btn-success {
  background-color: var(--secondary-green);
  color: white;
}

.btn-success:hover {
  background-color: #006600;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: #f0f5ff;
}

.btn-danger {
  background-color: var(--error);
  color: white;
}

.btn-danger:hover {
  background-color: #c62828;
}

.btn-disabled {
  background-color: #f0f0f0;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(25, 115, 184, 0.1);
}

input[type="text"]:invalid,
input[type="email"]:invalid,
input[type="password"]:invalid {
  border-color: var(--error);
}

input[type="text"]:invalid:focus {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Cards */
.card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Alerts */
.alert {
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.alert-error,
.alert-danger {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #f44336;
}

.alert-warning {
  background-color: #fff3e0;
  color: #e65100;
  border-left: 4px solid #ff9800;
}

.alert-info {
  background-color: #e3f2fd;
  color: #1565c0;
  border-left: 4px solid #2196f3;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

thead {
  background-color: var(--light-gray);
  border-bottom: 2px solid var(--primary-blue);
}

th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 13px;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border-gray);
  font-size: 14px;
}

tbody tr:hover {
  background-color: #f5f5f5;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 12px 0;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

/* Navigation */
.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--primary-blue);
}

.breadcrumb span {
  color: #999;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--border-gray);
  margin: 20px 0;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--dark-gray);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-blue);
}

.text-success {
  color: var(--secondary-green);
}

.text-error {
  color: var(--error);
}

.text-muted {
  color: #999;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .btn {
    width: 100%;
    padding: 14px 16px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .modal-content {
    max-width: 100%;
  }
}

/* ===== MODERN UI IMPROVEMENTS ===== */

/* Service Cards - Modern Design */
.service-item,
.service-block {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.service-item:hover,
.service-block:hover {
  box-shadow: 0 8px 24px rgba(25, 115, 184, 0.15);
  transform: translateY(-4px);
}

.service-item .icon i,
.service-block i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.service-item:hover .icon i,
.service-block:hover i {
  transform: scale(1.1);
}

/* Team Cards - Modern with Image Effects */
.team-block {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-block:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.team-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-block:hover img {
  transform: scale(1.05);
}

.team-block .content {
  padding: 20px;
  text-align: center;
}

.team-block h4 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-block p {
  color: var(--text-light);
  font-size: 13px;
}

/* About Image Section */
.about-img img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-img:hover img {
  transform: scale(1.03);
}

/* Counter Stats Cards */
.counter-stat {
  background: var(--light-blue);
  padding: 30px 15px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  word-wrap: break-word;
  word-break: break-word;
}

.counter-stat:hover {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(25, 115, 184, 0.2);
}

.counter-stat i {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  transition: color 0.3s ease;
  display: block;
}

.counter-stat:hover i {
  color: var(--white);
}

.counter-stat .h3 {
  font-weight: 700;
  color: var(--primary-blue);
  transition: color 0.3s ease;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.counter-stat:hover .h3 {
  color: var(--white);
}

.counter-stat p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.counter-stat:hover p {
  color: var(--white);
}

@media (max-width: 768px) {
  .counter-stat {
    padding: 25px 10px;
    margin-bottom: 15px;
  }

  .counter-stat .h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .counter-stat {
    padding: 20px 8px;
    margin-bottom: 12px;
  }

  .counter-stat .h3 {
    font-size: 1.3rem;
  }

  .counter-stat i {
    font-size: 1.8rem;
  }
}

/* Section Titles */
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 2px;
}

.section-title p {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 15px;
}

/* Banner/Hero Section Improvements */
.banner {
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(25, 115, 184, 0.95) 0%,
    rgba(0, 82, 163, 0.85) 100%
  );
  z-index: 1;
}

.banner .container {
  position: relative;
  z-index: 2;
}

.banner .block h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.banner .block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-main-2 {
  background: var(--success);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-main-2:hover {
  background: #229954;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.3);
}

.btn-main-2 i {
  margin-left: 8px;
}

/* Modern Footer Improvements */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer .logo img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.footer .logo:hover img {
  transform: scale(1.05);
}

.footer .widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-socials img {
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: scale(1.15);
}

/* Page Title Sections */
.page-title {
  padding: 120px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.page-title .overlay {
  background: rgba(25, 115, 184, 0.7);
}

.page-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Improved Spacing */
.section {
  padding: 80px 0;
}

.gray-bg {
  background-color: #f9f9f9;
}

/* Card Shadow Classes */
.card-hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-hover:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
