@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

[v-cloak] {
	display: none;
}

:root {
	--primary-color: #2563eb;
	--primary-dark: #1e40af;
	--secondary-color: #06b6d4;
	--bg-light: #f8fafc;
	--footer-bg: #111111;

	--main-font: 'Cairo', 'Inter', system-ui, -apple-system, sans-serif;
	--text-dark: #1A1A1A;
	--text-light: #666666;
	--text-main: #f1f5f9;
	--text-muted: #94a3b8;
	
	
	/* Color Palette */
	--primary-blue: #0B2C8A;
	--primary-red: #E11D48;
	--primary-green: #179B45;
	--primary-orange: #F58220;
	--purple-accent: #7D3DF2;
	--bg-hero: #FBFBFB;
	
	--border-color: #E5E7EB;
	--white: #FFFFFF;
	--red: #E11D48;
	
	/* Cyan/Teal for accents */
	--accent-color: #f59e0b;
	/* Amber for subtler highlights */

	--bg-dark: #0f172a;
	/* Slate 900 */
	--bg-card: #1e293b;
	/* Slate 800 */
	--bg-light: #f8fafc;
	/* Light background for strict sections */
	
	/* Effects */
	--glass-bg: rgba(30, 41, 59, 0.7);
	--glass-border: 1px solid rgba(255, 255, 255, 0.1);
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-glow: 0 0 15px rgba(37, 99, 235, 0.5);
	
}
.logo-title{
    font-family: 'Cinzel', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1600px; /* Modern ultra-wide fluid layout */
  margin: 0 auto;
  padding: 0 40px; /* Large horizontal spacing */
}

.card-shadow {
  background: white;
  border-radius: 12px;
  padding: 24px;
  /* offset-x | offset-y | blur-radius | color */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.v-img{
	width: 100%;
	height: 500px;
    background-size: cover;      /* تجعل الصورة تغطي كامل الـ div */
    background-position: center; /* توسيط الصورة */
    background-repeat: no-repeat;
	overflow: hidden;
}

.slider-img{
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 15px;
  gap: 8px;
}

.nav-btn {
  border-radius: 5px;
  padding: 8px 12px;
}

.btn-blue {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(11, 44, 138, 0.2);
}

.btn-blue:hover {
  background-color: #08216b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 44, 138, 0.3);
  color: var(--white);
}

.btn-outline-green {
  background-color: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-outline-green:hover {
  border-color: var(--primary-green);
  background-color: rgba(23, 155, 69, 0.05);
  color: var(--primary-green);
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-orange:hover {
  background-color: #df6e0b;
}

/* --- Cards & Services --- */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-box {
  width: 50px;
  height: 50px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  border-radius: 3px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text .title {
  font-weight: 800;
  font-size: 26px;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.nav-brand-text .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 13px;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links .active {
    color: var(--primary-blue) !important;
    font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-contact i {
  color: var(--primary-green);
  font-size: 32px;
}

.nav-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-contact-text .label {
  font-size: 11px;
  color: var(--text-light);
}

.nav-contact-text .phone {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
}

.mobile-active {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

.nav-contact-i{display: none;}

/* Sections */
.section-padding {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: rgba(23, 155, 69, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  padding: 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  padding-top: 30px;
  background: var(--bg-hero);
  padding-bottom: 50px;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--primary-orange);
}

.hero-content h1 span.green {
  color: var(--primary-green);
}

.hero-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-buttons .hero-btn {
  border: 2px solid var(--text-light);
}

.hero-buttons .hero-btn:hover {
  border-color: var(--primary-green);
  background-color: rgba(23, 155, 69, 0.05);
  color: var(--primary-green);
  transform: translateY(-2px);
} 

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon{
    width:55px;
    height:55px;
    border-radius:18px;
    background:#f5f7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1d4ed8;
	font-size: 24px;
}

.hf-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-inline: auto;
}

.hf-icon.blue { background: rgba(11, 44, 138, 0.1); color: var(--primary-blue); }
.hf-icon.green { background: rgba(23, 155, 69, 0.1); color: var(--primary-green); }
.hf-icon.orange { background: rgba(245, 130, 32, 0.1); color: var(--primary-orange); }
.hf-icon.red { background: rgba(245, 130, 32, 0.1); color: var(--primary-red); }

.hero-feature span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-image-wrapper {
  position: relative;
  height: 550px;
  
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shape {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border: 15px solid transparent;
  pointer-events: none;
}
.hero-shape.green {
  border-left-color: var(--primary-green);
  border-radius: 100px 0 0 100px;
}
.hero-shape.orange {
  border-left-color: var(--primary-orange);
  border-radius: 120px 0 0 120px;
  left: -20px;
}

/* Stats Section */
.stats {
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stat-item {
  padding: 40px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
  transition: background-color 0.3s ease;
}

.stat-blue { background: var(--primary-blue); }
.stat-green { background: var(--primary-green); }
.stat-orange { background: var(--primary-orange); }
.stat-purple { background: var(--purple-accent); }

.stat-blue:hover { background: #08216b; }
.stat-green:hover { background: #127a36; }
.stat-orange:hover { background: #df6e0b; }
.stat-purple:hover { background: #6b34cf; }

.stat-icon {
  font-size: 40px;
  opacity: 0.8;
}
svg{
    height:40px;
}
.stat-content .number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-content .label {
  display: block;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Error Notification */
.err_notification{
	background-color: red !important;
	color: #ffffff;
	text-align: center;
	margin-bottom: 10px;
}

/* Footer */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .nav-logo-box {
  background: var(--white);
  color: var(--primary-blue);
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 20px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-links a:hover {
  background: var(--primary-orange);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  color: var(--primary-orange);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.footer-contact i {
  color: var(--primary-green);
  font-size: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 20px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Responsive */
.pu_page_img { display: grid; } 
.pu_page_cont { display: none; }

@media (max-width: 1200px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .nav-links, .nav-contact-text { display: none; }
  .nav-links.mobile-active{
        display:flex;
        flex-direction:column;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        padding:20px;
        box-shadow:0 10px 10px rgba(0,0,0,0.1);
        gap:15px;
   }
   .mobile-active {display:block;}
   .nav-contact-i{display:block;}
   .nav-con-i {display: none;}
  .nav-brand-text .title { font-weight: 600; font-size: 18px;}
  .nav-brand-text .subtitle { font-weight: 400; font-size: 8px;}
  .hero .container { grid-template-columns: 1fr; }
  .hero-image-wrapper { height: 400px; border-radius: 40px; margin-top: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .slider-img{height: 60vh;}
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .slider-img{height: auto; max-height: 40vh; object-fit: contain;}
  .hide { display: none; }
  .pu_page_img{ display: none; }
  .pu_page_cont{ display: grid; }
}

@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .hide { display: none; }
  .hero-image-wrapper img { object-fit: cover; }
  .nav-logo-box {
	width: 40px;
	height: 40px;
	font-size: 30px;
	border-radius: 3px;
  }
  .slider-img{height: 40vh;}
  .pu_page_img{ display: none; }
  .pu_page_cont{ display: grid; }
}

/*nav bar*/
/* 1. ضبط رابط القائمة المنسدلة ليرث نفس التصميم والأبعاد الافتراضية لروابطك */
.nav-links .custom-nav-dropdown .dropdown-toggle {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    position: relative !important;
    display: inline-block !important;
    padding: 0 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}

/* 2. تغيير اللون إلى الأزرق عند مرور الفأرة مثل بقية الروابط */
.nav-links .custom-nav-dropdown .dropdown-toggle:hover {
    color: var(--primary-blue) !important;
}

/* 3. إعادة بناء الأنيميشن المخصص (الخط الأخضر السحري المتحرك) بشكل نقي */
.nav-links .custom-nav-dropdown .dropdown-toggle::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important; /* يبدأ من الصفر */
    height: 2px !important;
    background-color: var(--primary-green) !important;
    display: block !important; /* لضمان عدم انهياره كمثلث */
    border: none !important; /* تنظيف مخلفات البوتستراب */
    transform: none !important;
    transition: width 0.3s ease !important;
}

/* 4. تمديد الخط ليصبح 100% عند مرور الفأرة */
.nav-links .custom-nav-dropdown .dropdown-toggle:hover::after {
    width: 100% !important;
}