.main-container {
    padding: 20px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    background: #4d8adf;
    color: #fff;
    font-size: 14px;
    padding: 5px 20px;
}
.logo-pn {
    width: 140px;
    height: 40px;
}
@media (max-width: 768px) {
    .logo-pn {
        width: 100px;
        height: 40px;
    }
    .text-des {
        text-align: center;
        background: #f7f7f7;
    }
    .top-bar {
        flex-direction: column;
    }
}

/* Navbar */
.navbar-brand span {
    color: #4d8adf;
    font-weight: bold;
}
.topbaricon {
    color:white;
    font-size: 24px;
    
}
.mdi--linkedin {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93zM6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37z'/%3E%3C/svg%3E");
}
.line-md--instagram {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='66' d='M16 3c2.76 0 5 2.24 5 5v8c0 2.76 -2.24 5 -5 5h-8c-2.76 0 -5 -2.24 -5 -5v-8c0 -2.76 2.24 -5 5 -5h4Z'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.6s' values='66;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='28' stroke-dashoffset='28' d='M12 8c2.21 0 4 1.79 4 4c0 2.21 -1.79 4 -4 4c-2.21 0 -4 -1.79 -4 -4c0 -2.21 1.79 -4 4 -4'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.7s' dur='0.6s' to='0'/%3E%3C/path%3E%3C/g%3E%3Ccircle cx='17' cy='7' r='1.5' fill='%23fff' opacity='0'%3E%3Canimate fill='freeze' attributeName='opacity' begin='1.3s' dur='0.2s' to='1'/%3E%3C/circle%3E%3C/svg%3E");
}
.lets-icons--message {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect width='16' height='12' x='4' y='6' rx='2'/%3E%3Cpath d='m4 9l7.106 3.553a2 2 0 0 0 1.788 0L20 9'/%3E%3C/g%3E%3C/svg%3E");
}
.solar--phone-bold {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m16.556 12.906l-.455.453s-1.083 1.076-4.038-1.862s-1.872-4.014-1.872-4.014l.286-.286c.707-.702.774-1.83.157-2.654L9.374 2.86C8.61 1.84 7.135 1.705 6.26 2.575l-1.57 1.56c-.433.432-.723.99-.688 1.61c.09 1.587.808 5 4.812 8.982c4.247 4.222 8.232 4.39 9.861 4.238c.516-.048.964-.31 1.325-.67l1.42-1.412c.96-.953.69-2.588-.538-3.255l-1.91-1.039c-.806-.437-1.787-.309-2.417.317'/%3E%3C/svg%3E");
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Background Image */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay فوق الصورة */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(72, 135, 199, 0.65); /* نفس لون الصورة */
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 850px;
}

.hero-content h1 {
    font-size: clamp(18px, 2.5vw, 48px);
    font-weight: 700;
    margin-bottom: clamp(20px, 5vw, 30px);
}

.hero-content p {
    font-size: clamp(10px, 1.6vw, 20px);
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: clamp(20px, 20vw, 50px);
}

/* Button */
.hero-btn {
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    background: transparent;
}

.hero-btn:hover {
    background: #fff;
    color: #4d8adf;
    font-size: clamp(14px, 5vw, 20px);
    font-weight: 600;
}

/* Services */
.services-title {
    color: #4d8adf;
    font-size: clamp(18px, 2.5vw, 48px);
    font-weight: 700;
    margin-bottom: clamp(7px, 1.6vw, 15px);
}
.services p {
    font-size: clamp(10px, 1.6vw, 20px);
}
.projects-section p {
    font-size: clamp(10px, 1.6vw, 20px);
}

.service-card {
    border: 2px solid #d9d9d9;
    border-radius: 20px;

    padding: 10px;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    border: 2px solid #1f7cfd;
    cursor: pointer;
}

.service-card img {
    border-radius: 10px;
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    transform-origin: center;
}
.service-card:hover img {
    transform: scale(1.08);
}
.services .card-title {
    color: #1f7cfd;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 600;
    text-align: start;
}
.services .card-text {
    font-size: 14px;
    text-align: start;
    color: #7a7373;
    line-height: 2;
}

/* WhatsApp */
.whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
    text-decoration: none;
}
.navbar-nav {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
}

.req-but {
    background: #1f7cfd;
    color: #fff;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    padding: clamp(9px, 1.5vw, 12px) clamp(20px, 5vw, 26px);
    border-radius: 40px;
}
.req-but:hover {
    background: #1c67d1;
    color: #fff;
}
/* Projects Section */
.projects-title {
    color: #1f7cfd;
    font-weight: 700;
    margin-bottom: 10px;
}

.projects-desc {
    font-size: 14px;
    color: #6c757d;
    max-width: 750px;
    margin: 0 auto 30px;
}

/* Tabs */
.projects-tabs {
    border: 2px solid #d9d9d9;
    border-radius: 20px;

    padding: 20px 40px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
}

.projects-tabs .nav-link {
    border-radius: 20px;
    padding: 8px 18px;
    color: #000;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    border: none;
}

.projects-tabs .nav-link.active {
    background: #1f7cfd;
    color: #fff;
}

/* Project Card */
.project-card {
    position: relative;
    border-radius: 20px;
    border: 2px solid #d9d9d9;
    overflow: hidden;
    height: 685px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-btn {
    background: #1f7cfd;
    color: #fff;
    border-radius: 10px;
    width: 260px;
    height: 81px;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-btn:hover {
    background: #1c67d1;
    color: #fff;
}
.project-card img {
    width: 100%;
    height: auto;
    min-height: 120%; /* أهم سطر */
    object-fit: cover;
    transition: transform 6s linear;
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover img {
    transform: translateY(-30%);
}

.project-card .project-overlay {
    opacity: 1;
    cursor: pointer;
}

.blog-card {
    border: 2px solid #d9d9d9;
    border-radius: 20px;

    padding: 10px;
    height: 100%;
    cursor: pointer;
}
.blog-card img {
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}
.blogs .blog-title {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    text-align: start;
    line-height: 1.4;
}
.blogs .blog-text {
    font-size: clamp(13px, 1.6vw, 16px);
    text-align: start;
    line-height: 1.6;
}
.blogs .bloglink-text {
    font-size: clamp(10px, 5vw, 14px);
    text-align: right;
    text-decoration: underline;
    margin-bottom: 0;
}

.about-card {
    border: 2px solid #d9d9d9;
    border-radius: 20px;
    padding: clamp(24px, 5vw, 40px);
}

/* Title */
.about-title {
    color: #1f7cfd;
    font-size: clamp(18px, 2.5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    text-align: start;
}

/* Text */
.about-text {
    font-size: clamp(13px, 1.6vw, 16px);
    line-height: 1.8;
}

/* Image */
.about-img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .about-card {
        text-align: start;
    }

    .about-text {
        margin: 0 auto;
    }
    .about-title {
        text-align: center;
    }
}
.about-text {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.7;
}

/* النص الإضافي مخفي */
.more-text {
    display: inline;
}

.dots {
    display: none;
}

/* زرار */
.see-more-btn {
    background: none;
    border: none;
    color: #1f7cfd;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 6px;
    display: none;
}

/* 📱 موبايل فقط */
@media (max-width: 767px) {
    .more-text {
        display: none;
    }

    .dots {
        display: inline;
    }

    .see-more-btn {
        display: inline-block;
    }
}
.site-footer {
    border-top: 2px solid #efefef;
    background: #f5f5f5;
    padding-top: clamp(40px, 5vw, 70px);
}
.some-pad {
    padding-left: 20px;
    padding-right: 20px;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 16px;
}

.footer-text {
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social a {
    color: #4d8adf;
    font-size: clamp(10px, 1.5vw, 14px);
    margin-right: 12px;
    font-weight: 600;
}

.footer-title {
    font-size: clamp(12px, 1.5vw, 24px);
    font-weight: 600;
    margin-bottom: 16px;
    color: #4d8adf;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #000;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: clamp(10px, 2vw, 16px);
    font-weight: 500;
}

.footer-links a {
    text-decoration: none;
    color: #000;
}

.footer-links a:hover {
    color: #4d8adf;
}
.footer-links a.active {
    color: #4d8adf !important;
}

.footer-contact i {
    color: #4d8adf;
    margin-right: 8px;
    font-size: clamp(13px, 1.5vw, 16px) !important;
}
.footer-social i {
    color: #4d8adf;

    font-size: clamp(13px, 6vw, 30px) !important;
}
.mynaui--chevron-right-m {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234D8ADF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='m9 18l6-6l-6-6'/%3E%3C/svg%3E");
}
/* Bottom Bar */
.footer-bottom {
    margin-top: 40px;
    background: #4d8adf;
    color: #fff;
    text-align: center;
    padding: 14px 10px;
    font-weight: 500;
    font-size: clamp(9px, 2vw, 15px);
}
.cus-cor {
    color: #4d8adf;
}

.cus-nav {
    color: #1f7cfd !important;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* Base */
.custom-pagination {
    gap: 20px;
}

.custom-pagination .page-link {
    width: 55px;
    height: 55px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(12px, 2vw, 24px);
    font-weight: 400;

    color: #000;
    border: 1px solid #c1ccd2;
    gap: 15px;
    padding: 0;
    transition: all 0.2s ease;
}

/* Active */
.custom-pagination .page-item.active .page-link {
    background: #1f7cfd;
    color: #fff;
    border-color: #1f7cfd;
}

/* Hover */
.custom-pagination .page-link:hover {
    background: #f3f6ff;
    color: #1f7cfd;
}

/* Dots */
.custom-pagination .pdots .page-link {
    border: none;
    cursor: default;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .custom-pagination .page-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .projects-tabs .nav-link {
        border-radius: 10px;
        padding: 8px;
    }
    .projects-tabs {
        border: 2px solid #d9d9d9;
        border-radius: 20px;

        padding: 8px;

        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-wrap: wrap;
    }
    .project-card:hover img {
        transform: none;
    }

    .project-overlay {
        opacity: 1;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
        z-index: 20;
    }

    .carousel-control-prev {
        left: -40px;
    }

    .carousel-control-next {
        right: -40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: #1f7cfd;
        border-radius: 10px;
        background-size: 50% 50%;
        width: 30px;
        height: 40px;
    }
    .custom-pagination {
        gap: 10px;
    }
}
.about-img {
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-img:hover {
    transform: translateY(-15px);
}
/* Animate on scroll base */

.animate-on-scroll {
    opacity: 0;
}
.animate-on-scroll.animate__animated {
    opacity: 1;
}
/* RTL Mode */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Navbar */
html[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Bootstrap spacing fix */
html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Forms */
html[dir="rtl"] input,
html[dir="rtl"] textarea {
    text-align: right;
}

/* Fix hardcoded text-align left */
html[dir="rtl"] .text-left,
html[dir="rtl"] [style*="text-align: left"] {
    text-align: right !important;
}
