/* ===== United Consultants - Main Stylesheet ===== */
/* Colors: Burgundy #7D1530, Gold #B8962E, Dark #1A0A0F, Cream #F5EDD8 */

:root {
  --burgundy: #7D1530;
  --burgundy-dark: #5a0f22;
  --gold: #B8962E;
  --gold-light: #d4af5a;
  --dark: #1A0A0F;
  --cream: #F5EDD8;
  --cream-light: #faf6ee;
  --text: #2c1810;
  --text-light: #6b5a50;
  --white: #fff;
  --shadow: 0 4px 30px rgba(125,21,48,0.12);
  --shadow-hover: 0 12px 40px rgba(125,21,48,0.22);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Amiri', serif;
  direction: rtl;
  color: var(--text);
  background: var(--cream-light);
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--dark);
  color: var(--cream);
  font-size: 13px;
  padding: 7px 0;
}
.topbar-inner { display:flex; justify-content:space-between; align-items:center; }
.topbar-contact a, .topbar-social a {
  color: var(--cream); text-decoration:none; margin-left: 20px; transition: color .3s;
}
.topbar-contact a:hover, .topbar-social a:hover { color: var(--gold-light); }
.topbar-contact i, .topbar-social i { margin-left: 5px; color: var(--gold); }
.topbar-social a { font-size:15px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  padding: 12px 0;
  position: sticky; top:0; z-index:1000;
  box-shadow: 0 2px 20px rgba(125,21,48,0.1);
  transition: all .3s;
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 30px rgba(125,21,48,0.2); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.logo img { height: 60px; object-fit:contain; }
.logo-text { display:flex; flex-direction:column; }
.logo-ar { font-size:18px; font-weight:700; color:var(--burgundy); line-height:1.2; }
.logo-en { font-size:11px; color:var(--gold); letter-spacing:1px; font-family:'Cormorant Garamond',serif; }
.nav-links { list-style:none; display:flex; align-items:center; gap:5px; }
.nav-links a {
  text-decoration:none; color:var(--text); padding:8px 14px; border-radius:4px;
  font-size:15px; transition:all .3s; position:relative;
}
.nav-links a.active, .nav-links a:hover { color:var(--burgundy); }
.nav-links a::after {
  content:''; position:absolute; bottom:0; right:50%; left:50%;
  height:2px; background:var(--burgundy); transition:all .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { right:14px; left:14px; }
.btn-consult {
  background: var(--burgundy) !important; color:var(--white) !important;
  padding:9px 20px !important; border-radius:4px !important;
}
.btn-consult::after { display:none !important; }
.btn-consult:hover { background:var(--burgundy-dark) !important; transform:translateY(-1px); }
.nav-toggle { display:none; background:none; border:none; font-size:22px; color:var(--burgundy); cursor:pointer; }

/* ===== HERO SLIDER ===== */
.hero { position:relative; overflow:hidden; }
.hero-slides { position:relative; }
.hero-slide {
  display:none;
  background: linear-gradient(135deg, var(--dark) 0%, var(--burgundy-dark) 60%, var(--burgundy) 100%);
  min-height: 85vh;
  align-items:center;
  position:relative;
}
.hero-slide.active { display:flex; }
.hero-slide::before {
  content:''; position:absolute; inset:0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80') center/cover no-repeat;
  opacity:0.18;
}
.hero-content {
  position:relative; z-index:2; padding: 80px 60px 60px;
  animation: fadeInUp .8s both;
}
.hero-tag {
  display:inline-block; color:var(--gold-light); border:1px solid var(--gold);
  padding:5px 18px; border-radius:20px; font-size:13px; letter-spacing:2px; margin-bottom:20px;
}
.hero-content h1 {
  font-size: clamp(2.2rem,5vw,4rem); color:var(--white); line-height:1.4;
  margin-bottom:20px; font-weight:700;
}
.hero-content h1 span { color:var(--gold-light); }
.hero-content p { color:rgba(255,255,255,.8); font-size:1.1rem; max-width:540px; margin-bottom:35px; line-height:1.9; }
.hero-btns { display:flex; gap:15px; flex-wrap:wrap; }
.btn-primary {
  background:var(--gold); color:var(--dark); padding:14px 35px; border-radius:4px;
  text-decoration:none; font-weight:700; font-size:15px; transition:all .3s; border:none; cursor:pointer;
}
.btn-primary:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 8px 25px rgba(184,150,46,.4); }
.btn-outline {
  border:2px solid var(--white); color:var(--white); padding:12px 35px; border-radius:4px;
  text-decoration:none; font-size:15px; transition:all .3s;
}
.btn-outline:hover { background:var(--white); color:var(--burgundy); }

/* Stats bar — BELOW the slider, not overlapping */
.hero-stats {
  background: linear-gradient(90deg, var(--burgundy-dark), var(--dark));
  position:relative; z-index:2;
}
.hero-stats .container { display:flex; gap:0; }
.stat-item {
  flex:1; text-align:center; padding:22px 10px;
  border-left:1px solid rgba(255,255,255,.12);
  color:var(--white);
}
.stat-item:last-child { border-left:none; }
.stat-num { font-size:2.2rem; font-weight:700; color:var(--gold-light); font-family:'Cormorant Garamond',serif; line-height:1; }
.stat-label { font-size:12px; color:rgba(255,255,255,.65); margin-top:5px; }

.hero-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:100%; display:flex; justify-content:space-between;
  padding:0 20px; z-index:3; pointer-events:none;
}
.hero-nav button {
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); color:var(--white);
  width:44px; height:44px; border-radius:50%; cursor:pointer; font-size:16px;
  transition:all .3s; backdrop-filter:blur(4px); pointer-events:all;
}
.hero-nav button:hover { background:var(--gold); border-color:var(--gold); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-header { text-align:center; margin-bottom:55px; }
.section-tag {
  display:inline-block; color:var(--gold); font-size:13px; letter-spacing:3px;
  text-transform:uppercase; margin-bottom:12px;
}
.section-header h2 { font-size:2.3rem; color:var(--dark); margin-bottom:15px; }
.section-header p { color:var(--text-light); max-width:600px; margin:0 auto; line-height:1.9; }
.divider { width:60px; height:3px; background:linear-gradient(to left, var(--gold), var(--burgundy)); margin:15px auto 0; border-radius:2px; }

/* ===== SERVICES GRID ===== */
.services-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:25px; }
.service-card {
  background:var(--white); padding:35px 25px; border-radius:8px;
  border-top: 4px solid transparent; transition:all .3s; cursor:pointer;
  box-shadow: 0 2px 15px rgba(125,21,48,0.06);
}
.service-card:hover { border-top-color:var(--gold); transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.service-icon {
  width:60px; height:60px; border-radius:12px; background:linear-gradient(135deg,var(--cream),var(--cream-light));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  font-size:22px; color:var(--burgundy); transition:all .3s;
}
.service-card:hover .service-icon { background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark)); color:var(--white); }
.service-card h3 { font-size:1.15rem; color:var(--dark); margin-bottom:12px; }
.service-card p { color:var(--text-light); font-size:14px; line-height:1.8; }

/* ===== ABOUT SECTION ===== */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-img { position:relative; }
.about-img img { width:100%; border-radius:8px; box-shadow:var(--shadow); }
.about-img-badge {
  position:absolute; bottom:-20px; left:-20px; background:var(--burgundy); color:var(--white);
  padding:20px 25px; border-radius:8px; text-align:center; box-shadow:var(--shadow-hover);
}
.about-img-badge .num { font-size:2.5rem; font-weight:700; color:var(--gold-light); font-family:'Cormorant Garamond',serif; }
.about-img-badge .lbl { font-size:12px; }
.about-content h2 { font-size:2rem; color:var(--dark); margin-bottom:20px; }
.about-content p { color:var(--text-light); line-height:2; margin-bottom:15px; }
.about-points { margin:25px 0; }
.about-point { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; }
.about-point i { color:var(--gold); margin-top:4px; flex-shrink:0; }

/* ===== TEAM ===== */
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:25px; }
.team-card { background:var(--white); border-radius:8px; overflow:hidden; box-shadow:0 2px 15px rgba(125,21,48,.06); transition:all .3s; }
.team-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.team-photo { height:240px; overflow:hidden; background:var(--cream); }
.team-photo img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.team-card:hover .team-photo img { transform:scale(1.05); }
.team-info { padding:20px; }
.team-info h3 { font-size:1.05rem; color:var(--dark); margin-bottom:5px; }
.team-info span { font-size:13px; color:var(--gold); }

/* ===== CONTACT FORM ===== */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:50px; }
.contact-info h3 { font-size:1.6rem; color:var(--dark); margin-bottom:20px; }
.contact-info p { color:var(--text-light); line-height:1.9; margin-bottom:25px; }
.contact-item { display:flex; align-items:flex-start; gap:15px; margin-bottom:20px; }
.contact-icon { width:45px; height:45px; background:var(--cream); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--burgundy); flex-shrink:0; }
.contact-item h4 { font-size:14px; color:var(--text-light); margin-bottom:3px; }
.contact-item p, .contact-item a { font-size:15px; color:var(--dark); text-decoration:none; }
.form-card { background:var(--white); padding:40px; border-radius:8px; box-shadow:var(--shadow); }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:14px; color:var(--text-light); margin-bottom:7px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:12px 15px; border:1.5px solid #e8ddd5; border-radius:5px;
  font-family:'Amiri',serif; font-size:15px; color:var(--text); background:var(--cream-light);
  transition:border .3s; outline:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--burgundy); background:var(--white); }
.form-group textarea { height:130px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.btn-submit {
  width:100%; background:var(--burgundy); color:var(--white); padding:14px;
  border:none; border-radius:5px; font-family:'Amiri',serif; font-size:16px;
  font-weight:700; cursor:pointer; transition:all .3s; letter-spacing:.5px;
}
.btn-submit:hover { background:var(--burgundy-dark); transform:translateY(-1px); }
.alert { padding:12px 18px; border-radius:5px; margin-bottom:15px; font-size:14px; }
.alert-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.alert-error { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }

/* ===== WHY US ===== */
.why-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:30px; }
.why-card { text-align:center; padding:35px 20px; }
.why-icon { font-size:2.5rem; color:var(--gold); margin-bottom:15px; }
.why-card h3 { color:var(--dark); margin-bottom:10px; font-size:1.1rem; }
.why-card p { color:var(--text-light); font-size:14px; line-height:1.8; }

/* ===== FOOTER ===== */
.footer { background:var(--dark); color:rgba(255,255,255,.8); }
.footer-top { padding:60px 0 40px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap:40px; }
.footer-brand .footer-logo { height:55px; margin-bottom:15px; }
.footer-logo-text .f-ar { font-size:1.4rem; color:var(--white); font-weight:700; }
.footer-logo-text .f-en { font-size:11px; color:var(--gold); letter-spacing:1px; }
.footer-brand p { font-size:14px; line-height:1.9; color:rgba(255,255,255,.6); margin-top:12px; }
.footer h4 { color:var(--white); margin-bottom:20px; font-size:1rem; position:relative; padding-bottom:10px; }
.footer h4::after { content:''; position:absolute; bottom:0; right:0; width:35px; height:2px; background:var(--gold); }
.footer ul { list-style:none; }
.footer ul li { margin-bottom:10px; }
.footer ul a { color:rgba(255,255,255,.6); text-decoration:none; font-size:14px; transition:color .3s; }
.footer ul a:hover { color:var(--gold-light); padding-right:5px; }
.footer-contact p { font-size:14px; margin-bottom:12px; color:rgba(255,255,255,.6); }
.footer-contact i { color:var(--gold); margin-left:8px; width:16px; }
.footer-contact a { color:rgba(255,255,255,.6); text-decoration:none; transition:color .3s; }
.footer-contact a:hover { color:var(--gold-light); }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); color:rgba(255,255,255,.7); display:flex; align-items:center; justify-content:center; transition:all .3s; }
.footer-social a:hover { background:var(--gold); color:var(--dark); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:18px 0; text-align:center; font-size:13px; color:rgba(255,255,255,.4); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position:fixed; bottom:25px; left:25px; z-index:999;
  width:54px; height:54px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:26px; color:var(--white); box-shadow:0 4px 20px rgba(37,211,102,.5);
  text-decoration:none; transition:all .3s; animation:pulse 2s infinite;
}
.whatsapp-float:hover { transform:scale(1.1); }

/* ===== PAGE HERO ===== */
.page-hero {
  background:linear-gradient(135deg, var(--dark), var(--burgundy-dark));
  padding:70px 0; text-align:center; position:relative; overflow:hidden;
}
.page-hero::before { content:''; position:absolute; inset:0; background:url('/assets/images/hero_bg.jpg') center/cover; opacity:0.08; }
.page-hero h1 { font-size:2.5rem; color:var(--white); position:relative; margin-bottom:12px; }
.page-hero p { color:rgba(255,255,255,.7); position:relative; font-size:1.1rem; }
.breadcrumb { display:flex; justify-content:center; gap:8px; margin-top:15px; position:relative; }
.breadcrumb a, .breadcrumb span { color:rgba(255,255,255,.5); font-size:13px; text-decoration:none; }
.breadcrumb a:hover { color:var(--gold-light); }
.breadcrumb .sep { color:rgba(255,255,255,.3); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.5); } 50% { box-shadow:0 4px 35px rgba(37,211,102,.8); } }
.fade-in { opacity:0; transform:translateY(25px); transition:all .6s; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
  .about-grid, .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero-content { padding: 60px 20px 40px; }
  .hero-stats .container { flex-wrap:wrap; }
  .stat-item { flex:0 0 50%; }
}
@media(max-width:768px) {
  .nav-toggle { display:block; }
  .nav-links { display:none; flex-direction:column; position:absolute; top:100%; right:0; left:0; background:var(--white); padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.1); }
  .nav-links.open { display:flex; }
  .nav-links li { width:100%; }
  .nav-links a { padding:12px 0; border-bottom:1px solid var(--cream); display:block; }
  .navbar { position:relative; }
  .hero-slide { min-height:auto; padding-bottom:20px; }
  .hero-content { padding: 50px 20px 30px; }
  .hero-content h1 { font-size:1.8rem; }
  .hero-btns { flex-direction:column; }
  .hero-btns a { text-align:center; }
  .stat-item { flex:0 0 50%; padding:15px 10px; }
  .stat-num { font-size:1.8rem; }
  .footer-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .topbar-social { display:none; }
  .hero-nav { display:none; }
  .services-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr 1fr; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--burgundy-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1200&q=60') center/cover;
  opacity: 0.06;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 35px; }