@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Manrope:wght@500;600;700&display=swap');

/* main */
/* For All Page */
* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', 'Cairo', 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #16202a;
  background: radial-gradient(circle at 10% 6%, #eaf6ff 0%, #f7fafc 42%);
  overflow-x: hidden;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

/* For Border */
.border {
  color: red;
  border: 2px solid black;
  border-radius: 50px;
  padding-inline: 5px;
  padding-block: 3px;
}

.border:hover {
  color: green;
  background-color: yellow;
}

/* Link, Button */
a,
button {
  transition: 0.2s ease;
}

a:active,
button:active {
  scale: 0.95;
}

a:hover,
button:hover {
  cursor: pointer;
}

/* List */
li {
  list-style: none;
}

/* Flex */
.flex {
  display: flex;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Icons */
.fa-solid {
  color: var(--icons);
}

/* color */
:root {
  --white: #ffffff;
  --red: #d14343;
  --green: #1f9d55;
  --border: #d7e1ea;
  --blue: #0f6fb7;
  --hover: #0b5c99;
  --font: #16202a;
  --hf: #0f2438;
  --nav: #5f6b7a;
}

/* Responsive Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Spacing utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Responsive Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

/* Display utilities */
.hidden { display: none !important; }
.visible { display: block !important; }

/* Tablets and below (768px) */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .hide-mobile {
    display: none !important;
  }

  .container {
    padding: 0 0.75rem;
  }
}

/* Phones (480px and below) */
@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  .text-2xl { font-size: 1.25rem; }
  .text-3xl { font-size: 1.5rem; }

  .grid {
    gap: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .p-4 { padding: 1rem; }
  .p-5 { padding: 1.5rem; }

  .container {
    padding: 0 0.5rem;
  }
}

/* scroll Bare */
/* ::-webkit-scrollbar {
} */
::-webkit-scrollbar-track {
  border: 7px solid #292c3b;
  box-shadow: inset 0 0 2.5px 2px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background-color: #d4d4d8;
}

::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Stop the ScrollBar */
/* Hide scrollbars but keep scrolling enabled */
/* html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none; 
}
::-webkit-scrollbar {
  display: none; 
} */