@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* إيقاف الوضع الداكن نهائيًا */
:root, html, body { color-scheme: light; }

:root{
  --primary-color: #bb7000;
  --primary-hover: #a86600;
  --primary-light: #d88a00;
  --text-color: #000000;
  --text-secondary: #4d4d4d;
  --border-color: #7e7e7e;
  --bg-light: #ffffff;
  --bg-card: #f8f8f8;
  --bg-overlay: rgba(255, 255, 255, 0.95);
  --transition-speed: .35s;
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --box-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ===== Reset & Base ===== */
*{margin:0;padding:0;box-sizing:border-box}
html{font-size:63.5%;scroll-behavior:smooth}

/* Page Load Animation */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-50px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideInRight{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}

body{
  background-image:url("images/background.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  background-attachment:fixed;
  font-family:"Roboto",sans-serif;
  color:var(--text-color);
  min-height:100vh;
  line-height:1.65;
  backdrop-filter: brightness(0.97);
}

.container{
  margin:0 auto;
  padding:0 2rem;
  width:100%;
}

/* ===== Header - Full Width ===== */
header{
  padding:2.5rem 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 2rem;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeIn 0.6s ease-out;
  position: relative;
  width: 100%;
  max-width: 100%;
}
header::before{
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 2rem;
  z-index: -1;
  filter: blur(10px);
}

/* ===== Logo ===== */
.left-section img{
  width:14rem;
  border:3px solid rgba(255, 255, 255, 0.3);
  border-radius:1.5rem;
  padding:.8rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:0 6px 20px rgba(0, 0, 0, 0.15);
  transition:all var(--transition-speed) ease;
  animation: slideInLeft 0.8s ease-out;
  transform-style: preserve-3d;
}
.left-section img:hover{
  transform:scale(1.05) translateY(-5px) translateZ(10px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3), 
    0 10px 25px rgba(187, 112, 0, 0.4);
  border-color: var(--primary-color);
  filter: brightness(1.08) contrast(1.05);
}

/* ===== Navigation ===== */
.right-section{display:flex;gap:1rem;flex-wrap:wrap}
.right-section a{
  color:#000;font-size:1.8rem;font-weight:500;text-decoration:none;padding:1.2rem 2.5rem;border-radius:1.2rem;
  position:relative;overflow:hidden;background:rgba(255,255,255,.75);backdrop-filter:blur(8px);
  border:2px solid rgba(0,0,0,.08);transition:all var(--transition-speed) ease;text-shadow:none;
  animation:slideInRight .8s ease-out backwards;
  box-shadow:0 6px 15px rgba(0,0,0,.1),0 3px 8px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.8);
}
.right-section a:nth-child(1){animation-delay:.1s}
.right-section a:nth-child(2){animation-delay:.2s}
.right-section a:nth-child(3){animation-delay:.3s}
.right-section a:nth-child(4){animation-delay:.4s}
.right-section a::before{
  content:'';position:absolute;left:0;bottom:0;width:100%;height:100%;
  background:linear-gradient(135deg,var(--primary-color),var(--primary-light));
  transform:scaleX(0);transform-origin:left;transition:transform var(--transition-speed) ease;z-index:-1;
}
.right-section a:hover::before,
.right-section a.active::before{transform:scaleX(1)}
.right-section a:hover,
.right-section a.active{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.2),0 6px 15px rgba(187,112,0,.3),inset 0 1px 0 rgba(255,255,255,.5);
  border-color:var(--primary-color);color:#fff;
}
.right-section a:focus{outline:3px solid var(--primary-color);outline-offset:3px}
.right-section a:active{
  transform:translateY(-2px);box-shadow:0 6px 15px rgba(0,0,0,.15),inset 0 2px 4px rgba(0,0,0,.15);
}

@media (max-width:550px){
  header{flex-direction:column;align-items:center}
  .right-section{
    display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;width:100%;margin-top:2rem
  }
  .right-section a{width:100%;text-align:center;font-size:200%}
}

/* ===== HR Divider ===== */
hr {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border: none;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* ===== Content ===== */
.content{
  flex:1;
  padding:4rem 2rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width:1200px;
  margin:0 auto;
}
.head{
  font-size:3.6rem;
  color:var(--primary-color);
  margin-bottom:3rem;
  font-weight:800;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 2px 8px rgba(187, 112, 0, 0.15);
}

/* ===== Contact Info Cards ===== */
.contact-info{
  width:100%;
  max-width:80rem;
  display:flex;
  flex-direction:column;
  gap:1.6rem;
  margin-bottom:2.8rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.contact-info .row{
  background:rgba(255, 255, 255, 0.342);
  backdrop-filter:blur(8px);
  border:1px solid var(--border-color);
  border-radius:1.2rem;
  padding:2rem;
  display:flex;
  align-items:center;
  gap:1.5rem;
  box-shadow:var(--box-shadow);
  transition:all var(--transition-speed) ease;
  transform-style: preserve-3d;
}
.contact-info .row:hover{
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.22),
    0 10px 20px rgba(187, 112, 0, 0.15);
  transform: translateY(-8px) translateZ(15px);
  border-color: var(--primary-color);
}
.contact-info .row i{
  font-size:2.6rem;
  color:var(--primary-color);
  flex-shrink:0;
  transition:all var(--transition-speed) ease;
}
.contact-info .row:hover i{
  transform:scale(1.2) translateZ(5px);
  filter: drop-shadow(0 3px 8px rgba(187, 112, 0, 0.5));
}
.contact-info .row .label{
  font-size:1.8rem;
  color:#111;
  font-weight:700;
  min-width:10rem;
}
.contact-info .row .value{
  font-size:1.75rem;
  color:var(--text-secondary);
  text-decoration:none;
  transition:color var(--transition-speed) ease;
  flex:1;
}
.contact-info .row .value:hover{
  color:var(--primary-color);
}

/* ===== Social Icons ===== */
.social-icons{
  display:flex;
  gap:1.2rem;
  margin-bottom:3rem;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}
.social-icons a{
  width:4.2rem;
  height:4.2rem;
  border-radius:50%;
  background:#eee;
  border:1px solid var(--border-color);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  color:#222;
  transition:all var(--transition-speed) ease;
  box-shadow:0 3px 8px rgba(0,0,0,.12);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.social-icons a::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary-color),var(--primary-light));
  opacity:0;
  transition:opacity var(--transition-speed) ease;
  z-index:-1;
}
.social-icons a:hover::before{opacity:1}
.social-icons a:hover{
  color:#fff;
  border-color:var(--primary-color);
  transform:translateY(-8px) translateZ(12px) rotate(360deg);
  box-shadow:0 15px 35px rgba(187,112,0,.4),0 8px 20px rgba(0,0,0,.2);
}

/* ===== Contact Form ===== */
.form-card{
  background:rgba(255, 255, 255, 0.342);
  backdrop-filter:blur(8px);
  border:1px solid var(--border-color);
  border-radius:1.6rem;
  padding:3rem;
  box-shadow:var(--box-shadow);
  width:100%;
  max-width:80rem;
  transition:all var(--transition-speed) ease;
  transform-style: preserve-3d;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.form-card:hover{
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 15px 35px rgba(187, 112, 0, 0.25);
  transform: translateY(-10px) translateZ(20px);
  border-color: var(--primary-color);
}
.form-card h2{
  color:var(--primary-color);
  font-size:2.6rem;
  margin-bottom:2rem;
  display:flex;
  align-items:center;
  gap:1rem;
  font-weight:700;
}
.form-card h2 i{
  transition:transform var(--transition-speed) ease;
}
.form-card:hover h2 i{
  transform:scale(1.2) translateZ(5px);
}

.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px;
  height:1px;
  overflow:hidden;
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.6rem;
  margin-bottom:1.6rem;
}

.field{
  display:flex;
  flex-direction:column;
  margin-bottom:1.6rem;
}
.field label{
  font-size:1.6rem;
  font-weight:600;
  margin-bottom:.6rem;
  color:#111;
}
.field input,
.field textarea{
  font-family:"Roboto",sans-serif;
  font-size:1.6rem;
  padding:1.2rem 1.6rem;
  border-radius:1rem;
  border:2px solid var(--border-color);
  outline:none;
  transition:all var(--transition-speed) ease;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.field input:focus,
.field textarea:focus{
  border-color:var(--primary-color);
  box-shadow:
    0 0 0 4px rgba(187,112,0,.12),
    0 4px 12px rgba(187,112,0,.2);
  transform:translateY(-2px);
}
.field input:hover,
.field textarea:hover{
  border-color:var(--primary-light);
}

.legal{
  margin:1rem 0 1.6rem;
}
.check{
  display:flex;
  align-items:center;
  gap:.8rem;
  font-size:1.5rem;
  color:#222;
  cursor:pointer;
}
.check input{
  width:1.6rem;
  height:1.6rem;
  cursor:pointer;
  accent-color:var(--primary-color);
}

.actions{
  display:flex;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:.8rem;
  border:none;
  border-radius:1rem;
  cursor:pointer;
  font-size:1.8rem;
  font-weight:700;
  padding:1.2rem 2.4rem;
  transition:all var(--transition-speed) ease;
  transform-style: preserve-3d;
  font-family:"Roboto",sans-serif;
}
.btn-primary{
  background:linear-gradient(135deg,var(--primary-color),var(--primary-light));
  color:#fff;
  box-shadow:0 6px 15px rgba(187,112,0,.3),0 3px 8px rgba(0,0,0,.15);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--primary-light),var(--primary-hover));
  transform:translateY(-4px) translateZ(8px);
  box-shadow:0 12px 30px rgba(187,112,0,.5),0 6px 15px rgba(0,0,0,.25);
}
.btn-primary:active{
  transform:translateY(-2px) translateZ(4px);
}
.btn i{
  transition:transform var(--transition-speed) ease;
}
.btn:hover i{
  transform:scale(1.1);
}

.form-status{
  font-size:1.5rem;
  color:#1a1a1a;
  font-weight:500;
}

/* Form status classes */
.is-success{
  color:#1b7e3c;
  font-weight:600;
}
.is-error{
  color:#a31d1d;
  font-weight:600;
}

/* ===== Footer ===== */
.DwonPage{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border:1px solid rgba(255, 255, 255, 0.15);
  border-radius:2rem;
  margin:2rem 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  width:calc(100% - 4rem);
  position: relative;
}
.DwonPage::before{
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 2rem;
  z-index: -1;
  filter: blur(10px);
}
.IM{
  width:39rem;
  padding:2rem;
  transition:all var(--transition-speed) ease;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.1));
  transform-style:preserve-3d;
  position: relative;
  z-index: 1;
}
.IM:hover{
  transform:scale(1.1) translateZ(15px);
  filter:drop-shadow(0 15px 35px rgba(187,112,0,.5));
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{
  background:rgba(0,0,0,.05);
  border-radius:5px;
}
::-webkit-scrollbar-thumb{
  background:linear-gradient(135deg,var(--primary-color),var(--primary-light));
  border-radius:5px;
  border:1px solid rgba(255,255,255,.1);
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(135deg,var(--primary-light),var(--primary-hover));
  box-shadow: 0 0 10px rgba(187, 112, 0, 0.5);
}


/* ===== FIX HORIZONTAL SCROLL ONLY ===== */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

* {
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ===== Responsive - Font Size ONLY ===== */

@media (max-width: 992px) {
  html {font-size: 62%}
}

@media (max-width: 768px) {
  html {font-size: 60%}
  
  header {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .right-section {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info .row {
    flex-wrap: wrap;
  }
}

@media (max-width: 550px) {
  html {font-size: 56%}
  
  header {
    flex-direction: column;
    align-items: center;
  }
  
  .right-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
  }
  
  .right-section a {
    width: 100%;
    text-align: center;
    font-size: 200%;
  }
  
  .contact-info .row {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  
  .contact-info .row .label {
    min-width: unset;
  }
}

/* ===== Performance ===== */
.contact-info .row,.form-card,.social-icons a,.btn,.IM{
  will-change:transform;
  backface-visibility:hidden;
}