﻿
/*







Theme Name: شركة الانفال










Author: heba gamal





Version: 1.0.0







*/


@font-face {
    font-family: "droidkufiregular";
    src: url('fonts/droidkufiregular/droidkufi-regular.eot');   
     src: url("fonts/droidkufiregular/droidkufi-regular.eot") format("eot"),
         url("fonts/droidkufiregular/droidkufi-regular.otf") format("opentype"),
         url("fonts/droidkufiregular/droidkufi-regular.ttf") format("truetype"),
         url('fonts/droidkufiregular/droidkufi-regular.svg#JFFlatRegular') format('svg');
}

html{

	width:100%;
}

body {
    margin: 0px;
    padding: 0px;
  
}
div#qTip {
border:1px solid #c3951a;
background:#e3ae1d;
color:#222;

font:bold 10pt tahoma;
border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;
position:absolute;z-index: 1000;display:none;padding:6px 15px;text-align: center;}



.loading2 {
    background: #424040 none repeat scroll 0 0;
    z-index:99999999999999999999999999999999999999;
}
.loading2 .spinner {
    height: 70px;
    left: 50%;
    margin: -35px auto auto -35px;
    position: absolute;
    top: 50%;
    width: 70px;
}
.loading2 .double-bounce1, .double-bounce2 {
    animation: 2s ease-in-out 0s normal none infinite running bounce;
    background-color: #e2b25d;
    border-radius: 50%;
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
}
.loading2 .double-bounce2 {
    animation-delay: -1s;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  	float:left;
}
@media (min-width: 768px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float:left;
}}
@media (min-width: 1200px) {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
 	float:left;
}
}
@media (min-width: 992px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
   float:left;}
}

:root {
    --primary-color: #473002;
    --primary-glow: rgba(33, 150, 243, 0.8);
    --secondary-color: #9c27b0;
    --text-color: #48494a;
    --bg-color: #0a0a12;
    --nav-bg:;
    --dropdown-bg:#b77f28;
    --hover-color: #fff;
    --border-color: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 10px rgba(33, 150, 243, 0.5),
                 0 0 20px rgba(33, 150, 243, 0.3),
                 0 0 30px rgba(33, 150, 243, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-bg: linear-gradient(135deg, var(--bg-color), #151530);
    --glass-effect: saturate(180%) blur(10px);
    --border-radius: 12px;
    --text-description: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header{
	width:100%;
}
.navbar {
    display: flex; 
    align-items: center;
     margin-top:10px;
     margin-left:0px;
     padding:15px 0px;
    transition: var(--transition-medium);
        position: relative;
    z-index: 1000000000;
    width:100%;
   
}




header.active .navbar {
  background-color: #fdeed4;
  margin:0px; width:100%;
  padding:10px;
    position:fixed;
    z-index:9999999;
      box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.50);

}
header.active {width:100%;

}


.navbar img{
height:60px;
margin-top:-20px;
}
@media (max-width: 768px) {
.navbar-brand img {
height:40px;
margin-top:-20px;
}
}

header.active .navbar img {
    height:60px;
    margin-top:-20px;
}
@media (max-width: 768px) {
header.active .navbar img {
    height:40px;
    margin-top:-20px;
}
}


header.active .top-line {
    height: 0;
    padding: 0;
}

header-logo {
 position:relative;
 display:block;
 float:right;

    transition: all 0.17s ease-in-out;
    -moz-transition: all 0.17s ease-in-out;
    -webkit-transition: all 0.17s ease-in-out;
    -o-transition: all 0.17s ease-in-out;
}

header.active .navbar-brand {
    padding:5px 15px 0;
}


/* Header and navbar-h */

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
   
    margin-top:10px;
  
    /* احذفي float:left */
}
.nav-menu ul{
    float:left;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {

    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color:#fff;

background:#b77f28;    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

/* Icons */
.icon {
    transition: var(--transition-medium);
    vertical-align: middle;
    line-height:35px;
}

.chevron-icon {
    transition: transform var(--transition-medium);
}

.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--dropdown-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px var(--shadow-color);
  z-index: 99999999999999999;
  }
@media only screen and (max-width:968px) {

 
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    color:#fff;
    background:#c59953;
    text-decoration: none;
    padding: 0.7rem 1rem;
    display: block;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    margin-bottom: 2px;
}

.dropdown a:hover {
    background: #6d6e70;
    color:#fff;
    transform: translateX(5px);
}

/* Search Bar */
.nav-actions {
    display: flex;
    align-items: center;
 margin-left:0px;
    margin-top:-10px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    width: 180px;
    transition: all var(--transition-medium);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    width: 240px;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 5px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #e2b25d;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.6rem;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width:35px;
    height:35px;
}

.theme-toggle:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}
.theme-toggle svg {
 margin:0px;}

/* Hamburger Menu */
.nav-toggle {   width:35px;  margin-top:5px; margin-right:260px;
    display: none; 
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
  
    transition: var(--transition-medium);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    transition: all var(--transition-medium);
    border-radius: 10px;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
}

.hamburger span:last-child {
    top: 18px;
}

/* Mobile Menu Active State */
.nav-active .hamburger span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-active .hamburger span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}

/* Content Styling */
.content {
    margin-top: 70px;
    padding: 2rem;
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-description);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}

.section {
    padding: 5rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-medium);
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-description);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -250%;
        flex-direction: column;
        align-items: flex-start;
        background:#b77f28;
        backdrop-filter: var(--glass-effect);
        -webkit-backdrop-filter: var(--glass-effect);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right var(--transition-slow);
        box-shadow: -10px 0 30px var(--shadow-color);
        border-left: 1px solid var(--border-color);
    }

    .nav-active .nav-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(33, 150, 243, 0.15);
    }

    .dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        padding-left: 1rem;
        margin-left: 1rem;
        display: none;
        box-shadow: none;
        border-left: 1px solid var(--border-color);
        transform: none;
        transition: all var(--transition-medium);
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .search-input, 
    .search-input:focus {
        width: 100%;
    }

    .search-input {
        padding: 0.8rem 1rem;
    }

    .theme-toggle {
        align-self: flex-start;
    }

    .chevron-icon {
        position: absolute;
        right: 1rem;
    }

    .has-dropdown.active .chevron-icon {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

.lightbox {
  display: none; /* مخفي افتراضياً */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

