@import url(fontiran.css);
/* Global And General */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --contrast: #222222;
    --contrast-2: #575760;
    --contrast-3: #b2b2be;
    --base: #f0f0f0;
    --base-2: #f7f8f9;
    --base-3: #ffffff;
    --accent: #1e73be;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #475569;
    --slate-800: #1e293b;
}
body {
    font-family: KalamehWeb !important;
}

a {
    text-decoration: none;
}

.fluid-img {
    max-width: 100%;
    display: block;
    height: auto;
}
/* Layout  */
.flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
}

.grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
/* container  */
/* Mobile-first base container */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* horizontal centering */
    align-items: center; /* vertical centering */
    width: 90%; /* responsive width on mobile */
    max-width: 1200px; /* optional max width for large screens */
    margin: 0 auto; /* center horizontally in viewport */
    padding: 1rem; /* optional padding */
}

/* Inner content styling */
.container__content {
    text-align: center; /* center text inside container */
    width: 100%;
}

/* Desktop / larger screens */
@media (min-width: 1024px) {
    .container {
        width: 80%; /* wider container on desktop */
        padding: 2rem;
    }
}


/* Hero Section */
/* Mobile-first */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh; /* mobile default height */
    background: url('/1.svg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center; /* vertically center content on mobile */
    justify-content: center;
    text-align: center;
}

.hero__overlay {
    background: rgba(0, 0, 0, 0.4); /* optional dark overlay for text readability */
    width: 100%;
    padding: 2rem;
}

.hero__title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero__description {
    font-size: 1rem;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
}

/* Desktop / large screens */
@media (min-width: 1024px) {
    .hero {
        min-height: 70vh; /* full viewport height */
        background-position: center center;
        background-size: cover;
        align-items: flex-start; /* optional: align top if needed */
    }

    .hero__content {
        max-width: 800px;
        margin-left: 5%;
        text-align: left;
    }

    .hero__title {
        font-size: 3.5rem;
        text-align: center;
    }

    .hero__description {
        font-size: 1.25rem;
        text-align: center;
    }
}
/* Buttons */

/* Wrapper to control spacing if needed */
.btn-wrapper {
    display: inline-block;
}

/* Base button style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    color: rgb(82, 82, 91);
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 30px;
    gap: 10px; /* space between text and icon */
    transition: 0.2s background-color ease-in-out, 0.2s color ease-in-out, 0.2s border-color ease-in-out, 0.2s opacity ease-in-out, 0.2s box-shadow ease-in-out;
}

/* Icon inside button */
.btn__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Hover, active, and focus states */
.btn:hover,
.btn:active,
.btn:focus {
    background-color: #283381;
    color: #ffffff;
    border-color: #283381;
    box-shadow: 0 4px 10px rgba(40, 51, 129, 0.2);
    outline: none;
}

.btn--transparent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    color: white;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 30px;
    padding: 12px 15px;
    gap: 10px; /* space between text and icon */
    transition: 0.2s background-color ease-in-out, 0.2s color ease-in-out, 0.2s border-color ease-in-out, 0.2s opacity ease-in-out, 0.2s box-shadow ease-in-out;
}
    /* Hover, active, and focus states */
    .btn--transparent:hover,
    .btn--transparent:hover,
    .btn--transparent:hover {
        background-color: #283381;
        color: rgb(82, 82, 91);
        border-color: #283381;
        box-shadow: 0 4px 10px rgba(40, 51, 129, 0.2);
        outline: none;
    }

/* Mobile responsiveness: stretch button */
@media (max-width: 768px) {
    .btn-wrapper {
        display: block;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 458px) {
    .btn-wrapper {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
}
/* Transparent Btn */

/* Inherit general button styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: 0.2s background-color ease-in-out, 0.2s color ease-in-out, 0.2s border-color ease-in-out, 0.2s box-shadow ease-in-out;
    gap: 10px;
}

/* ---- Primary button (existing from before) ---- */
.btn--primary {
    background-color: #ffffff;
    color: #52525b;
    border: 1px solid #ffffff;
    padding: 12px 30px;
}

    .btn--primary:hover,
    .btn--primary:focus {
        background-color: #283381;
        color: #ffffff;
        border-color: #283381;
        box-shadow: 0 4px 10px rgba(40, 51, 129, 0.2);
    }

/* ---- Secondary (new smaller transparent) button ---- */
/* Base Button */

/* First Banner That Has Bg-Image */
/* Block: hero */
.hero {
    width: 100%;
    overflow: hidden;
}

/* Element: hero__bg → stretched container with background image */
.hero__bg {
    background-image: url("../imgs/banner/banner-module-tab-illus.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
    /* centers inner container horizontally and vertically if needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Element: hero__inner → non-stretched container, centered, limited width */
/* Block: hero */
.hero {
    width: 100%;
    overflow: hidden;
}


/* First-Container*/

.first-container {
    width: 100%;
    min-height: 100vh;
    background-image: url("../imgs/banner/banner-module-tab-illus.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-container {
    width: 90%;
    max-width: 1200px;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    /* Added */

    align-items: flex-start;
    gap: 16px;
    background-color: #f9f9f9;
    border-radius: 16px;
    padding: 40px 40px 32px 40px;
    text-align: right;
    cursor: pointer;
}


.service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 45px;
}

.service-box h3 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-box:hover h3 {
    color: #293381;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
/* cta  */
/* Section Background */
.cta-section {
    width: 100%;
    background-image: url(/imgs/banner/cta-background.svg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 150px 0;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    direction: rtl;
}

/* Container */
.cta-container {
    width: 80%;
    max-width: 1000px;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(6px);
}

/* Title */
.cta-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 600;
}

/* Input Wrapper (New Fix) */
.cta-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 700px;
    margin: 0 auto 40px;
    width: 100%;
    border-radius: 40px;
    overflow: hidden; /* ✅ keeps edges perfectly touching */
    backdrop-filter: blur(10px);
}

/* Input */
.cta-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0; /* handled by wrapper */
}

    .cta-input::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }

/* Button */
.cta-btn {
    padding: 14px 30px;
    border: none;
    background-color: #293381;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

    .cta-btn:hover {
        background-color: rgba(64, 158, 255, 1);
    }

/* Features Grid */
.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.feature-icon {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}
/* Footer */
.footer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 80px; /* space between columns */
    background-color: #071f43;
    color: #a4a9b4;
    padding: 80px 10%;
    direction: rtl;
}

/* Each column uses Flexbox inside */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --- BRAND COLUMN --- */
.footer-logo {
    width: 80px;
    height: 80px;
}

.brand-desc {
    color: #a4a9b4;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 12px;
}

    .social-icons a {
        width: 52px;
        height: 52px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #fff;
        border-radius: 50%;
        background: transparent;
        transition: all 0.3s ease;
    }

    .social-icons img {
        width: 12px;
        height: 12px;
        filter: brightness(0) invert(1);
    }

    .social-icons a:hover {
        background-color: #3692d3;
        border-color: #3692d3;
    }

/* --- TITLES --- */
.services-column h4,
.links-column h4,
.posts-column h4,
.contact-column h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
}

/* --- LISTS --- */
.services-column ul,
.links-column ul,
.posts-column ul,
.contact-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- SERVICES LIST ITEMS --- */
.services-column li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a4a9b4;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .services-column li:hover {
        color: #fff;
    }

.services-column img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

/* --- SIMPLE LISTS (Links, Posts, Contact) --- */
.links-column a,
.posts-column a,
.contact-column a {
    color: #a4a9b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .links-column a:hover,
    .posts-column a:hover,
    .contact-column a:hover {
        color: #fff;
    }

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* ✅ Tablet: 2 columns × 2 rows */
@media (max-width: 1024px) {
    .footer {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 60px 80px;
    }
}

/* ✅ Mobile: 1 column */
@media (max-width: 600px) {
    .footer {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 8%;
    }

    .social-icons {
        justify-content: flex-start;
    }
}
/* --------------------------
   Posts Section Styles (BEM)
   -------------------------- */

.posts-section {
    direction: rtl;
    text-align: right;
    padding: 80px 20px;
    background-color: #fff;
    font-family: KalamehWeb, sans-serif;
    color: #222;
}

.posts-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* === Heading === */
.posts-section__title {
    font-size: 1.875rem; /* 30px */
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .posts-section__title:hover {
        color: #0b99ff;
    }

.posts-section__subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 75px;
    line-height: 1.8;
}

/* === Grid Layout === */
.posts-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* === Post Card === */
.post-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
    overflow: hidden;
    padding: 0 0 20px;
}



/* === Image === */
.post-card__image {
    width: 100%;
    height: auto;
    max-width: 362px;
    border-radius: 20px;
    margin-bottom: 32px;
    object-fit: cover;
}

/* === Post Title === */
.post-card__title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    padding: 0 10px;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .post-card__title:hover {
        color: #0b99ff;
    }

/* === Meta Info === */
.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: #777;
    padding: 0 10px;
}

    .post-card__meta span {
        white-space: nowrap;
    }

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
    .posts-section {
        padding: 60px 16px;
    }

    .posts-section__subtitle {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .posts-section__grid {
        gap: 32px;
    }

    .post-card {
        align-items: center;
        text-align: center;
    }

    .post-card__meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .posts-section__title {
        text-align: center;
        font-size: 1.5rem;
    }

    .post-card__title {
        font-size: 1.125rem;
    }

    .post-card__image {
        max-width: 100%;
    }
}

/* Basic RTL and container */
.z-pattern-section {
    direction: rtl;
    padding: 50px 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Row grid */
.z-pattern-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
    margin-bottom: 100px;
}

    .z-pattern-row.reverse {
        direction: rtl; /* Keep RTL */
        grid-template-areas: "content image";
    }

.z-pattern-image img {
    width: 100%;
    max-width: 430px;
    height: 430px;
    object-fit: cover;
    border-radius: 16px;
}

.z-pattern-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.z-pattern-subheading {
    color: #0b99ff;
    margin-bottom: 20px;
    font-weight: 500;
}

.z-pattern-title {
    color: #222;
    margin-bottom: 70px;
    transition: color 0.3s ease;
    font-size: 28px;
}

    .z-pattern-title:hover {
        color: #0b99ff;
    }

.z-pattern-desc {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.z-pattern-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 30px;
    background-color: #0b99ff;
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #283381;
    }

.btn-secondary {
    padding: 15px 25px;
    background-color: transparent;
    border: 1px solid lightgrey;
    border-radius: 20px;
    color: #222;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background-color: #283381;
        color: #fff;
    }

/* Responsive */
@media (max-width: 992px) {
    .z-pattern-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

        .z-pattern-row.reverse {
            grid-template-columns: 1fr;
        }

    .z-pattern-image img {
        width: 100%;
        height: auto;
    }
}
/*  Sliders  */
:root {
    --transition-time: 1s;
    --slide-interval: 6s;
    --overlay: rgba(0, 0, 0, 0.45);
    --text-color: #fff;
    --accent: #0b99ff;
}

/* HERO BASE */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero__slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: auto;
    overflow: hidden;
}

.hero__slider {
    display: flex;
    /*width: 300%;*/
    height: 100%;
    transition: transform var(--transition-time) ease-in-out;
}

/* SLIDE */
.hero__slide {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 100%;
}

    .hero__slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero__slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--overlay);
        z-index: 1;
    }

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    color: var(--text-color);
    text-align: left;
    max-width: 600px;
}

    .hero__content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        animation: fadeIn 1s ease forwards;
    }

    .hero__content p {
        font-size: 1.25rem;
        opacity: 0.85;
    }

/* ARROWS */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .hero__nav:hover {
        background: var(--accent);
    }

.hero__nav--prev {
    left: 20px;
}

.hero__nav--next {
    right: 20px;
}

/* DOTS */
.hero__dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

    .dot.active {
        background: var(--accent);
    }

/* ANIMATIONS */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero__content {
        padding-left: 5%;
    }

        .hero__content h1 {
            font-size: 2rem;
        }

        .hero__content p {
            font-size: 1rem;
        }

    .hero__nav {
        font-size: 1.5rem;
    }
}
