/* =====================
   RESET + BASE
===================== */
* {
  box-sizing: border-box;
  font-family: "Cairo", Arial, sans-serif;
}

body {
  margin: 0;
  background: #f2f8fd;
  color: #222;
  line-height: 1.8;
}

/* =====================
   HEADER
===================== */
header,
.hero,
.main-header {
  background: linear-gradient(135deg, #0b6fc2, #4fc3f7);
  color: #fff;
  padding: 35px 15px;
  text-align: center;
}

header h1,
.main-header h1 {
  margin: 0;
  color: #fff;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: #0b6fc2;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  font-size: 14px;
}

/* =====================
   CONTAINERS
===================== */
main,
.section,
.container,
.portal-container {
  max-width: 1100px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* =====================
   TITLES
===================== */
h2 {
  color: #0b6fc2;
  text-align: center;
  margin-bottom: 25px;
}

/* =====================
   BUTTONS (احترافي)
===================== */
button {
  padding: 12px 22px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg,#4fc3f7,#0b6fc2);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: .3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* =====================
   INPUTS
===================== */
input {
  padding: 12px;
  width: 80%;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* =====================
   CARDS
===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e3f2fd;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: all .3s ease;
}

.card:hover {
  background: #4fc3f7;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.card:hover p,
.card:hover strong {
  color: #fff;
}

.card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 12px;
}

/* =====================
   CLIENT DATA
===================== */
.client-data {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.data-row {
  background: #f7fbff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e0f2fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-row span:first-child {
  font-weight: bold;
  color: #0b6fc2;
}

/* 🔥 المتبقي بشكل احترافي */
.remaining-box{
margin-top:20px;
padding:18px;
border-radius:18px;
text-align:center;
font-size:18px;
font-weight:bold;
background:linear-gradient(135deg,#4fc3f7,#0b6fc2);
color:#fff;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* =====================
   RENEW BUTTON
===================== */
.renew-btn {
  display: block;
  margin-top: 25px;
  background: linear-gradient(135deg,#25d366,#1da851);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 16px;
  text-decoration: none;
  transition: .3s;
  font-weight: bold;
}

.renew-btn:hover {
  transform: scale(1.05);
}

/* =====================
   FOOTER
===================== */
footer,
.main-footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

/* =====================
   FLOATING SOCIAL
===================== */

#ft-float-btn{
position:fixed;
bottom:20px;
right:20px;
background:#4fc3f7;
color:#fff;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
cursor:pointer;
box-shadow:0 8px 25px rgba(0,0,0,.25);
z-index:9999;
transition:.3s;
}

#ft-float-btn:hover{
transform:scale(1.1);
}

#ft-social-menu{
position:fixed;
bottom:95px;
right:20px;
display:none;
flex-direction:column;
gap:12px;
z-index:9999;
}

.ft-icon{
width:50px;
height:50px;
border-radius:50%;
background:#ffffff;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
color:#4fc3f7;
text-decoration:none;
box-shadow:0 6px 18px rgba(0,0,0,.15);
transition:.3s;
}

.ft-icon:hover{
background:#4fc3f7;
color:#fff;
transform:scale(1.1);
}
