/* Handle IT Website Styles */
@font-face {
  font-family: myFirstFont;
  src: url(Minion3-Regular.otf);
}
@font-face {
  font-family: handles;
  src: url(AraEtabAlMonie_ee-Medium.otf);
}
:root {
    --primary-blue: #4A90E2;
    --secondary-blue: #2E5C8A;
    --light-blue: #87CEEB;
    --dark-blue: #1a3a5c;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
strong {
    font-family: 'handles';
    font-size: 26px;
    font-weight: 100;
}
body {
    font-family: 'myFirstFont';
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* Navigation */
.navbar {
    background:  linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    /* opacity: 0.5; */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(74, 144, 226, 0.95);
    padding: 0.5rem 0;
    opacity: 1;
}
.navbar.scrolled img{
    height: 50px;
     transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    /* font-weight: 600; */
    font-size: large;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--light-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}


.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    background-image: url('../img/bghero.png');
    background-size: cover;
    background-repeat: no-repeat;
   
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* .carousel-container {
    height: calc(100vh - 210px); 
    overflow: hidden;
  }

  .carousel-item {
    height: 100%;
    min-height: 490px;
    background-size: cover;
    background-position: center;
  }

  .carousel-caption {
    background: rgba(0, 0, 0, 0.628);
    padding: 1rem 2rem;
    border-radius: 10px;
    width: 56%;
    min-width: 350px;
    position: relative;
    left: 1px;
  } */

  .carousel-container {
            height: calc(100vh - 93px);
            overflow: hidden;
            position: relative;
        }
        
        .carousel-item {
            height: 100%;
            min-height: 490px;
            background-size: cover;
            background-position: center;
            background-attachment: fixed; /* تثبيت الخلفية */
            transition: transform 0.8s ease;
        }
        
        /* تأثيرات للصور عند التنقل */
        .carousel-item.active {
            transform: scale(1.02);
        }
        
        /* تخصيص النص داخل السلايد */
        .carousel-caption {
            background: rgba(0, 0, 0, 0.124);
            /* background: rgba(0, 0, 0, 0.628); */
            padding: 2rem;
            border-radius: 15px;
            width: 56%;
            
            min-width: 300px;
            position: relative;
            left: 200px;
            top: 37%;
            transition: all 0.8s ease;
            opacity: 0;
            transform: translateY(30px);
        }
        
        .carousel-item.active .carousel-caption {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* تأثيرات مختلفة لكل شريحة */
        .slide-1 .carousel-caption {
            transform: translateX(-50px);
        }
        
        .slide-1.active .carousel-caption {
            transform: translateX(0);
        }
        
        .slide-2 .carousel-caption {
            transform: scale(0.8);
        }
        
        .slide-2.active .carousel-caption {
            transform: scale(1);
        }
        
        .slide-3 .carousel-caption {
            transform: rotateY(90deg);
        }
        
        .slide-3.active .carousel-caption {
            transform: rotateY(0);
        }
        
        /* أزرار التنقل */
        .carousel-control-prev, .carousel-control-next {
            width: 5%;
            opacity: 0.7;
            transition: opacity 0.3s;
        }
        
        .carousel-control-prev:hover, .carousel-control-next:hover {
            opacity: 1;
        }
        
        /* المؤشرات */
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            background-color: rgba(255, 255, 255, 0.5);
            border: none;
        }
        
        .carousel-indicators button.active {
            background-color: white;
            transform: scale(1.2);
        }
        
        /* تصميم متجاوب */
        @media (max-width: 768px) {
            .carousel-caption {
                width: 90%;
                min-width: unset;
                padding: 1.5rem;
                left: 12px;
            }
            
            .carousel-caption h3 {
                font-size: 1.5rem;
            }
            
            .carousel-caption p {
                font-size: 0.9rem;
            }
        }


.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-family: 'handles';
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    text-align: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'handles';
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

/* About Section */
.about-content h3 {
    color: var(--secondary-blue);
    font-weight: 600;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}


.about-image img {
            border-radius: 15px;
            transition: transform 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
        }
        
        .about-image img:hover {
            transform: scale(1.03);
        }
        
        /* تأثيرات جديدة للإطار */
        .about-image {
            display: inline-block;
            position: relative;
            border-radius: 15px;
            overflow: hidden;
        }
        
        
        .about-image::before {
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border: 2px solid var(--primary-color);
            border-radius: 20px 5px 20px 5px;
            opacity: 0;
            transition: all 0.4s ease;
            z-index: -1;
        }
        
        .about-image:hover::before {
            opacity: 0.6;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            border-radius: 15px 8px 20px 10px;
        }
        

        .div {
    position: relative;
    margin: 20px;
    /* border: 1px solid #000; */
}

.div:after {
    display: block;
    content: "";
    width: 90px;
    height: 70px;
    position: absolute;
    top: -10px;
    right: -10px;
    border-top: 3px solid #4A90E2;
    border-right: 3px solid #4A90E2;
    border-radius: 16px;
}
.span:before {
    display: block;
    content: "";
    width: 90px;
    height: 80px;
    position: absolute;
    bottom: -8px;
    left: -15px;
    border-radius: 16px;
    border-bottom: 3px solid #2E5C8A;
    border-left: 3px solid #2E5C8A;
}
        /* النقش الخلفي الجديد */
        #about {
            position: relative;
            overflow: hidden;
            background-color: #f8f9fa;
        }
        #about::before,
        #about::after {
        content: '';
        position: absolute;
        border-radius: 50%; /* لجعل الأشكال دائرية */
        opacity: 0.1; /* لجعلها شفافة جداً */
        z-index: 0; /* لضمان بقائها في الخلفية */
        }
        #about::before {
            width: 950px;
            height: 950px;
            background-image: url(../img/pathsvg.svg);
            background-size: contain;
            background-origin: content-box;
            rotate: 180deg;
            top: -100px;
            left: 0px;
            z-index: 10;
            
        }
        #about::after {
            width: 950px;
            height: 950px;
            background-image: url(../img/pathsvg.svg);
            bottom: -440px;
            right: 0px;
            z-index: 10;
            
        }
        
       
/* Services Section */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    /* height: 180px; */
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--secondary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}


#services {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

#services::before,
#services::after {
  content: '';
  position: absolute;
  border-radius: 50%; /* لجعل الأشكال دائرية */
  opacity: 0.1; /* لجعلها شفافة جداً */
  z-index: 0; /* لضمان بقائها في الخلفية */
}


#services::before {
    width: 950px;
            height: 950px;
            background-image: url(../img/pathsvg.svg);
            background-size: contain;
            background-origin: content-box;
            rotate: 180deg;
            top: -100px;
            left: 0px;
            z-index: -10;
  /* width: 500px;
  height: 500px;
  background: #007bff; 
  background-image: url(../img/pathsvg.svg);
  top: 100px;
  left: -100px;
  animation: float1 9s infinite ease-in-out; */
  
}

#services::after {
  width: 750px;
  height: 750px;
  /* background: #6c757d; لون الشكل الثاني */
  background-image: url(../img/pathsvg.svg);
  bottom: -300px;
  right: 0px;
  z-index: -10;
  /* animation: float2 18s infinite ease-in-out; */
}

@keyframes float1 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(50px, 30px); }
  100% { transform: translate(0, 0); }
}

@keyframes float2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -60px); }
  100% { transform: translate(0, 0); }
}

/* Contact Section */
.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.1rem;
    padding: 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 30px;
}

.contact-item h6 {
    color: var(--secondary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

#contact {
  background-color: #ffffff; /* لون خلفية أساسي */
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/path.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% ; /* لتحديد حجم الأشكال */
  opacity: 1; /* لتقليل شدة اللون وجعله خفيفاً */
  z-index: -10; /* لضمان أن يكون في الخلفية */
}

/* Footer */
footer,#home {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-blue));
}

.footer-logo {
    display: flex;
    align-items: center;
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--light-blue) !important;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.readmore{
    border-bottom-left-radius: 9rem; 
    border-top-right-radius: 9rem; 
    width: 90%;
    box-shadow: #0b62c6 0px 3px 8px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .readmore{
        border-bottom-left-radius: 4rem; 
        border-top-right-radius: 5rem; 
        width: 90%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    /* .contact-item {
        text-align: flex-start;
        flex-direction: column;
    }
    
    .contact-item i {
        margin-bottom: 0.1rem;
    } */
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .social-links {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

