body {
    font-family: 'Cairo', sans-serif;
    padding-top: 80px;
    direction : rtl !important;
    text-align : right;
}


html {
    scroll-behavior: smooth;
}

.btn-primary {
    color: #fff;
    background-color: #35a3ad !important;
    border-color: #35a3ad !important;
        font-weight: bold;

}


.navbar-light .navbar-nav .nav-link {
    color: rgb(10 0 0 / 79%) !important;
    font-weight: bold !important;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link

 {
        padding-right: 2.5rem !important;
        padding-left: .5rem !important;
    }
}
@media (max-width: 768px) {
   .hero-title{
    margin-top : 14% !important;
   }
}

/* HERO */
.hero {
    min-height: 90vh;
    background: linear-gradient(120deg, #1840dc, #38b2ac);
    color: white;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
    animation: fadeInUp 1s;
}

.hero-text {
    margin-top: 15px;
    animation: fadeInUp 1.5s;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    animation: fadeIn 2s;
}

/* BUTTONS */
.btn-main {
    background: white;
    color: #1840dc;
    border-radius: 30px;
    padding: 10px 25px;
    transition: 0.3s;
}

.btn-main:hover {
    transform: scale(1.05);
}

.btn-outline-main {
    border: 2px solid white;
    color: white;
    border-radius: 30px;
}

/* SERVICES */
.services {
    padding: 60px 0;
}

.service-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
}

.service-box i {
    font-size: 30px;
    color: #1840dc;
}

.service-box:hover {
    transform: translateY(-10px);
}

/* ABOUT */
.about {
    padding: 60px 0;
}

.about-img {
    width: 100%;
    border-radius: 20px;
}

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq-question {
    width: 100%;
    padding: 15px;
    border: none;
    background: #e2e8f0;
    margin-bottom: 5px;
}

.faq-answer {
    display: none;
    padding: 10px;
    background: #f7fafc;
}

/* FLOAT BUTTONS */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.call-btn,
.whatsapp-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    z-index : 9999;
}

.call-btn {
    background: #1840dc;
}

.whatsapp-btn {
    background: #25D366;
}

/* ANIMATION */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* FOOTER */
footer {
    background: #1840dc;
    color: white;
    padding: 20px;
}



/* BLOG HERO */
.blog-hero {
    height: 250px;
    background: linear-gradient(120deg, #1840dc, #38b2ac);
    color: white;
}

.blog-title {
    font-size: 45px;
    font-weight: bold;
    animation: fadeInUp 1s;
}

/* BLOG SECTION */
.blog-section {
    padding: 60px 0;
}

/* CARD */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card .content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card h5 {
    min-height: 50px;
}

.blog-card p {
    flex-grow: 1;
    font-size: 14px;
}

.blog-card span {
    color: #1840dc;
    font-weight: bold;
}

/* HOVER */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


/* ARTICLE HERO */
.article-hero {
    height: 300px;
    background: url('./img/hero.jpg') center/cover;
    position: relative;
}

.article-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(7, 94, 186, 0.8), rgba(56,178,172,0.8));
}

.article-title {
    font-size: 35px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.article-meta {
    position: relative;
    z-index: 2;
}

/* CONTENT */
.article-section {
    padding: 60px 0;
}

.article-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 20px;
}

/* SHARE */
.share-box a {
    margin: 0 5px;
    font-size: 20px;
    color: #0053ab;
}

/* SIDEBAR */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
}

.side-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
}

.side-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 10px;
}

.contact-section {
    padding: 70px 0;
    background: linear-gradient(120deg, #f8fafc, #edf2f7);
}

.contact-info h2 {
    color: #1840dc;
    margin-bottom: 10px;
}

.info-box {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-size: 16px;
}

.info-box i {
    color: #1840dc;
    margin-left: 10px;
    font-size: 20px;
}

/* FORM */
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    animation: fadeInUp 1s;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #1840dc;
    color: white;
    border: none;
    border-radius: 25px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #38b2ac;
    transform: scale(1.03);
}


.main-footer {
    background: #1a202c;
    color: #fff;
    padding: 50px 0 20px;
}

.main-footer h4,
.main-footer h5 {
    margin-bottom: 15px;
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li {
    margin-bottom: 8px;
}

.main-footer a {
    color: #cbd5e0;
    text-decoration: none;
}

.main-footer a:hover {
    color: #38b2ac;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    margin-top: 20px;
    padding-top: 15px;
}


.why-box {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s;
}

.why-us {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 32px;
    color: #1840dc;
    font-weight: bold;
}

.section-desc {
    margin: 10px 0 40px;
    color: #555;
}

/* BOX */
.why-box {
    transition: 0.3s;
    padding: 20px;
}

.why-box:hover {
    transform: translateY(-10px);
}

/* ICON */
.icon {
    width: 70px;
    height: 70px;
    margin: auto;
    background: linear-gradient(120deg, #1840dc, #38b2ac);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.icon i {
    color: #fff;
    font-size: 28px;
}

/* HOVER EFFECT */
.why-box:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* TEXT */
.why-box h5 {
    color: #1840dc;
    font-weight: bold;
}

.why-box p {
    color: #666;
    font-size: 14px;
}


.services-pro {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 34px;
    color: #2b6cb0;
    font-weight: bold;
}

.section-desc {
    color: #666;
    margin-bottom: 40px;
}

/* CARD */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* IMAGE */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* TITLE */
.service-card h3 {
    padding: 15px;
    font-size: 20px;
    color: #2b6cb0;
    font-weight: bold;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* RESPONSIVE تحسين */
@media(max-width:768px){
    .service-card img {
        height: 180px;
    }
}