/* Left-to-Right languages */
/* Apply for tablet, laptop, and desktop (768px and above) */
@media (min-width: 768px) {
    /* Left-to-Right languages */
    html[dir="ltr"] .rs-header-one .header-wrapper {
        justify-content: left; /* left alignment */
    }

    /* Right-to-Left languages */
    html[dir="rtl"] .rs-header-one .header-wrapper {
        justify-content: right; /* right alignment */
    }
}

/* Optional: Mobile (0–767px) — keep default or center */
@media (max-width: 767px) {
    .rs-header-one .header-wrapper {
        justify-content: space-between; /* center logo for mobile */
    }
}

/* ========== SECTION TITLE ========== */
.section-title-wrap {
    padding: 1px 0px 12px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0b73a8;
    border-right: 4px solid #ffffff;
    padding-right: 12px;
    line-height: 1.4;
}

.rs-weather-scroll-row {
    white-space: nowrap;
    /* prevents wrapping */
}

.rs-weather-card {
    background-color: #0b73a8;
    border-radius: 12px;
    box-shadow: 0 8px 20px #0b73a8;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.rs-weather-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.meta-white {
    color: #ccc;
    font-size: 13px;
}

/* For main banner overlay image */
.rs-post-overlay-bg-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* increase height for more visible shadow */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    /* increase opacity */
    pointer-events: none;
}

/* Bottom gradient overlay for small images */
.rs-post-small-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* make it longer */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    /* slightly darker */
    pointer-events: none;
}

.main-menu li {
    height: 100px; /* required so vertical space exists */
    display: flex;
    flex-direction: column; /* stack vertically */
    justify-content: flex-end; /* push content to bottom */
    padding: 0px 0px;
}

.main-menu li a {
    padding: 6px 2px;
}

.rs-header-one .header-left {
    padding: 10px 2px;
}

.gradient-bg {
    /* Blue dominates top 70%, then fades into white */
    background: linear-gradient(
        to bottom,
        #a2c7da 0%,
        #d5d5d5 90%,
        #d5d5d5 90%
    );
}

.gray-bg {
    background: #d5d5d5;
}

.load-more-btn{
    color:#fff; 
    background-color:#0b73a8;
    /* padding: 6px; */
    margin-bottom:12px;
}

.pd-30 {
    padding-bottom: 30px;
}

.rs-post-medium-two .rs-post-medium-item {
    position: unset;
    border: 0px solid #0b73a8;
}
.rs-post-medium-thumb {
    box-shadow: 0 25px 25px -10px rgba(0, 0, 0, 0.5);
}
.rs-post-medium-two .rs-post-medium-content {
    padding-top: 2px;
    padding-inline-start: 4px;
}
.image-border {
    border: 8px solid #0b73a8;
}
.post-color {
    color: #0b73a8 !important;
}

.post-color-tow {
    color: #ffffff !important;
}

.rs-post-medium-item {
    /* position: relative; */
    /* background: #e3f4fc; */
    border-radius: 8px;
}

.rs-post-medium-item::after {
    content: "";
    position: unset;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.25);
    filter: blur(12px);
    border-radius: 50%;
    z-index: -1;
}

html[dir="rtl"] .post-title-border {
    border-right: 4px solid #0b73a8 !important;
}

html[dir="ltr"] .section-title {
    font-size: 22px;
    padding: 0px 12px;
    font-weight: 800;
    color: #0b73a8;
    border-left: 4px solid #ffffff;
    padding-right: 12px;
    line-height: 1.4;
    border-right: 0px;
}

html[dir="ltr"] .section-title.is-white {
    color: #ffffff !important;
}

html[dir="rtl"] .subtitle-design {
    border-right: 4px solid #ffffff !important;
    padding-right: 16px;
}

html[dir="ltr"] .subtitle-design {
    border-left: 4px solid #ffffff !important;
    padding-left: 16px;
}

html[dir="ltr"] .post-title-border {
    border-left: 4px solid #0b73a8 !important;
}

.testimonial-card {
    background: #f5f5f5; /* light gray card background */
    border-radius: 40px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    top: -24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 4px solid #0b73a8;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}
.testimonial-content {
    padding: 20px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #0b73a8;
}

.testimonial-stars {
    color: #ffb400;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}
.swiper-slide {
    width: 33.33%; /* 3 slides per row on desktop */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important; /* smaller arrow */
    font-weight: 900;
    color: #0b73a8;
}

/* .testimonial-card {
    background: #f5f5f5; 
    border-radius: 40px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.testimonial-image {
    width: 200px;       
    height: 120px;      
    margin: 0 auto;
    border-radius: 50% / 40%; 
    overflow: hidden;
    position: relative;
    top: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 4px solid #0B73A8;
}


.testimonial-image::after {
    content: '';
    position: absolute;
    bottom: -20px;       
    left: 50px;          
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #0B73A8; 
}


.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.testimonial-content {
    padding: 20px;
    margin-top: 30px; 
}

.testimonial-name {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #0B73A8;
}

.testimonial-stars {
    color: #ffb400;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 10px 0 0 0;
}

.swiper-slide {
    width: 33.33%; 
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;  
    font-weight: 900;
    color: #0B73A8;
} */

@media (max-width: 992px) {
    .swiper-slide {
        width: 50%; /* 2 slides per row on tablet */
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 100%; /* 1 slide per row on mobile */
    }
}

.poll-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f9fc, #eef3f8);
    font-family: "Vazirmatn", sans-serif;
}

/* Card */
.chart-card {
    max-width: 950px;
    margin: auto;
    /* background: #ffffff; */
    /* padding: 35px 30px 45px;
  border-radius: 20px; */
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07); */
    /* transition: all 0.3s ease; */
}

/* .chart-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
} */

/* Legend */
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.region1 {
    background: #87ceeb;
}

.region2 {
    background: #0b73a8;
}

/* Chart Container */
.chart-container {
    width: 100%;
    height: 420px;
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .chart-card {
        padding: 25px 20px 35px;
    }

    .chart-container {
        height: 350px;
    }

    .chart-legend {
        flex-direction: column;
        gap: 15px;
    }
}

.rs-footer-one .footer-top {
    padding-top: 28px;
    padding-bottom: 28px;
    position: relative;
    z-index: 1;
}

.footer-text {
    color: #0b73a8;
    padding: 4px;
}

.footer-text-white {
    color: #ffffff;
}

/* over all div shadow to card */
/* .rs-post-medium {
    box-shadow: 0 12px 15px -10px rgba(0, 0, 0, 0.3);
} */

.social-bar {
    background-color: #0b73a8;
    padding: 15px 0;
    border-radius: 8px;
}

.social-icon {
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #d5d5d5;
    transform: translateY(-3px);
}

.footer-social-title {
    font-size: 20px;
    color: var(--rs-white);
    font-weight: 500;
    text-transform: uppercase;
}

.header {
    height: 60px;
    background: #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}

.header h2 {
    margin: 0;
    color: #1b6f93;
    border-right: 4px solid #1b6f93;
    padding-right: 10px;
}

.section {
    background: #95b6c7;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bubble img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover;
    animation: floatMove 3s ease-in-out infinite alternate;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes floatMove {
    0% {
        transform: scale(1) translate(0px, 0px);
    }
    50% {
        transform: scale(1.05) translate(-10px, 5px);
    }
    100% {
        transform: scale(1.1) translate(10px, -5px);
    }
}

/* .content{
    justify-content: center;
    width:45%;
    color:#0b73a8;
    line-height:2;
    font-size:18px;
    font-weight: bolder;
} */

/* Horizontal Wrapper */
.social-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px; /* space between buttons */
    flex-wrap: wrap; /* responsive */
}

/* Main Button */
.social-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 176px;
    height: 68px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding-left: 30px;
    overflow: hidden;
    transition: 0.3s ease;
}

/* Perfect Circle */
.social-btn .social-icon {
    position: absolute;
    left: 0;
    width: 70px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 5px solid rgba(255, 255, 255, 0.9);
}

.social-btn .social-icon i {
    font-size: 32px;
    color: #fff;
}

/* Gradients */
.instagram {
    background: linear-gradient(90deg, #7c3fa3, #9b59b6);
}

.twitter {
    background: linear-gradient(90deg, #4fa3d1, #6bb5e3);
}

.facebook {
    background: linear-gradient(90deg, #4c6fb5, #5d7ec7);
}

/* YouTube */
.youtube {
    background: linear-gradient(90deg, #c4302b, #ff4b3e);
}

/* TikTok */
.tiktok {
    background: linear-gradient(90deg, #111111, #333333);
}

/* LinkedIn */
.linkedin {
    background: linear-gradient(90deg, #0077b5, #0096d6);
}

/* Hover */
.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.social-text-margin {
    margin-right: 16px;
}

.weather-bar {
    background-color: #0b73a8;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
    border-radius: 6px;
    width: 100%;
}

.weather-left .city {
    font-weight: 600;
}

.weather-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-right .temp {
    font-weight: 500;
}

.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 55px;
    flex-wrap: wrap;
}

/* Text */
.section .content {
    flex: 1;
    min-width: 280px;
    font-size: 18px;
    line-height: 1.8;
    width: 45%;
    color: #054b6e;
    font-weight: bolder;
}

/* Image container */
.section .bubble {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

/* Image responsive */
.section .bubble img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section .bubble {
        order: -1; /* Image goes on top */
    }

    .section .content {
        font-size: 15px;
    }
}

/* Banner */
.text-section h6 {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .banner {
        flex-direction: column;
        text-align: center;
    }

    .phone {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .text-section h6 {
        font-size: 0.9rem;
    }

    .text-section .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .phone-screen img {
        max-width: 180px;
    }
}

.live-updates {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #d60000;
    font-weight: 900;
    font-size: 45px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.live-indicator {
    width: 30px;
    height: 30px;
    border: 3px solid #d60000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-dot {
    width: 20px;
    height: 20px;
    background-color: #d60000;
    border-radius: 50%;
    animation: pulseFade 2s infinite ease-in-out;
}

@keyframes pulseFade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

.footer-links li a {
    font-weight: 700; /* makes the text bold */
    display: block; /* allows margin to work properly */
    margin-bottom: 10px; /* adds space between items */
    text-decoration: none; /* optional: remove underline if any */
    color: #0b73a8;
}

/* Optional: hover effect */
/* .footer-links li a:hover {
    color: #0b73a8; 
    text-decoration: underline;
} */

.banner {
    background: linear-gradient(135deg, #052a3c 0%, #0b73a8 100%);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
}

/* Right text section */
.text-section {
    color: #fff;
    text-align: right;
}

.text-section h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: bold;
}

.btn {
    background: #ffffff;
    color: #052a3c !important;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: bolder;
}

.btn:hover {
    color: #0b73a8;
    background-color: #d5d5d5;
    text-decoration: underline;
}

.btn:before {
    content: "◀";
    font-size: 12px;
}

/* Phone */
.phone {
    width: 90px;
    height: 150px;
    position: absolute;
    left: 60px;
    bottom: -44px;
    transform: rotate(22deg);
    border-radius: 28px;
    background: linear-gradient(145deg, #c2c0c0, #000);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 3px rgba(255, 255, 255, 0.2);
    padding: 8px;
}

/* Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b73a8, #052a3c);
    border-radius: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Notch */
.phone-screen::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 12px;
    background: #000;
    border-radius: 10px;
}

/* Logo */
.phone-screen img {
    width: 96%;
    margin-bottom: 20px;
    object-fit: contain;
}

.rs-post-overlay-bg-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Keeps 1920x1080 ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-size-area {
    min-height: 550px; /* optional */
}
.rs-post-small-item {
    min-height: 140px;
}

.rs-post-small {
    margin-top: 10px;
}

.image-size-area-2 {
    min-height: 700px; /* optional */
}

.city-report-text {
    font-size: 18px;
    font-weight: 700;
    color: #d5d5d5 !important;
}


#mobile-menu-two{
    margin-top: 24px;
}


.rs-post-video-three .rs-post-video-thumb {
    min-width: 200px;
    height: 80px;
    min-height: 140px;
}

.rs-post-video-desc{
    font-size:14px;
    color:#ccc;
    margin-top:6px;
    line-height:1.4;
}

.multipage-menu li.active-menu > a {
    color: #b3b1b0; /* slightly different color for active menu */
    font-weight: 600; /* optional: make it a bit bolder */
}

.multipage-menu li.active-menu > a:hover {
    color: #b3b1b0; /* optional: hover effect for active menu */
}

.rs-post-overlay-bg-thumb {
    background-size: cover; /* fills container, may crop */
    background-position: center center;
    width: 100%;
    height: 500px; /* make sure this matches your layout */
}

.rs-post-medium-two .rs-post-medium-item {
    padding-bottom: 12px !important;
}

 .text-color {
    color:#0b73a8 !important;
 }

 .image-size {
    width: 434px; 
    height:289px;
 }

 .sub-page-image {
    width: 600px;
    height: 400px;
 }

 .card-main-title {
    font-weight: bolder;
    font-size: 28px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    height: 3em; 
    margin-bottom: 12px; 
 }

 .card-main-description {
    font-weight: bolder;
    font-size: 18px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2em;
    height: 3em; 
    margin-bottom: 6px; 
 }

 .card-timedata-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.5em;
    height: 1.5em;
 }

 .side-image-size{
    height: 110px !important;
    width: 150px !important;
 }
