@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2'),
        url('../fonts/Vazir.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "VAZIR";
}

:root {
    --primary-color: #121e8e;
    --dark-color: #1d1f5c;
    --secondary-color: #ee7128;
    --text-light: #fff;
    --text-dark: #000;
    --text-color: #656565;
}

body {
    direction: rtl;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15%;
    border-bottom: 1px solid var(--primary-color);
}

.nav-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo a img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.nav-logo a h3 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
}

.nav-logo a h3 span {
    color: var(--secondary-color);
}

.nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
}

.nav-items-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    list-style: none;
}

.nav-items-list li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-items-list li a:hover {
    color: var(--secondary-color);
}

.nav-login a {
    text-decoration: none;
    color: var(--text-light);
    background: var(--secondary-color);
    padding: 13px 20px;
    border-radius: 35px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-login a:hover {
    background: var(--primary-color);

}

/* HIDE TOGGLE ON LARGE SCREENS */
.nav-toggle {
    display: none;
    font-size: 25px;
    color: var(--primary-color);
    cursor: pointer;
}

/* SIDEBAR BASE STYLE */
#nav-menu {
    transition: all 0.3s ease-in-out;
}

/* OVERLAY */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 90;
}

.nav-close {
    display: none;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

/* RESPONSIVE (TABLET + MOBILE) */
@media (max-width: 1280px) {
    .navbar {
        padding: 10px 10%;
    }
}

@media (max-width: 1080px) {
    .navbar {
        padding: 10px 5%;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 5%;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 40px 25px;
        gap: 40px;
        z-index: 100;
    }

    /* Show hamburger */
    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        align-self: flex-end;
    }

    .nav-items-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .nav-items-list li a {
        color: var(--primary-color);
        font-size: 18px;
    }

    .nav-login a {
        padding: 12px 20px;
        border-radius: 30px;
        font-size: 16px;
    }

    /* When sidebar is active */
    .nav-items.active {
        right: 0;
    }

    .nav-overlay.active {
        display: block;
    }
}


/* Hero Section Started Here */
.hero-sect {
    padding: 70px 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.hero-sect-text {
    width: 100%;
}

.hero-sect-text h6 {
    color: var(--secondary-color);
    font-size: 20px;
}

.hero-sect-text h1 {
    font-size: 40px;
    width: 70%;
    margin: 30px 0px;
    line-height: 60px;
    color: var(--primary-color);
}

.hero-sect-text p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-sect-btns {
    display: flex;
    justify-content: baseline;
    align-items: baseline;
    width: 100%;
    gap: 15px;
}

.hero-sect-btns .hero-first-btn {
    background: var(--secondary-color);
    padding: 7px 17px;
    color: var(--text-light);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-sect-btns .hero-first-btn:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

.hero-sect-btns .hero-scnd-btn {
    padding: 7px 20px;
    color: var(--primary-colort);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.hero-sect-btns .hero-scnd-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}


.hero-sect-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    border-radius: 15px;
}

.slides img.active {
    opacity: 1;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.slider-dots .active {
    background: var(--secondary-color);
}

/* Hero Section Responsive Area */
@media(max-width: 1280px) {
    .hero-sect {
        padding: 70px 10%;
    }
}

@media(max-width: 1080px) {
    .hero-sect {
        padding: 70px 5%;
    }
}

@media(max-width: 992px) {
    .hero-sect {
        flex-direction: column;
    }

    .hero-sect-text h1 {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .hero-sect-img {
        height: 300px;
    }

    .hero-sect-text h6 {
        font-size: 17px;
    }

    .hero-sect-text h1 {
        font-size: 30px;
        line-height: 50px;
    }
}

/* About us Section started Here */
.about-us-sect {
    margin: 100px 0px;
    padding: 100px 15%;
    background: rgb(252, 244, 238);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    width: 100%;
}

.about-us-start-img {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-us-main-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
}

.about-us-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-us-main-img img:hover {
    transform: scale(1.1);
}

.about-us-sub-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.about-us-sub-title h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.about-us-end-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-us-end-text h6 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 400;
}

.about-us-end-text h1 {
    color: var(--primary-color);
    width: 80%;
}

.about-us-end-text p {
    color: var(--text-color);
}

.about-us-opts {
    list-style: none;
}

.about-us-opts li {
    display: flex;
    justify-content: baseline;
    align-items: baseline;
    padding-bottom: 10px;
    gap: 10px;
    color: var(--primary-color);
}

.about-us-opts li i {
    color: var(--secondary-color);
}


/* About us Responsive Area */

@media (max-width: 1280px) {
    .about-us-sect {
        padding: 100px 10%;
    }
}

@media (max-width: 1080px) {
    .about-us-sect {
        padding: 100px 5%;
    }
}

@media (max-width: 992px) {
    .about-us-sect {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .about-us-main-img {
        height: 400px;
    }

    .about-us-end-text h1 {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .about-us-end-text h1 {
        font-size: 30px;
    }

    .about-us-end-text h6 {
        font-size: 18px;
    }

    .about-us-sect {
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .about-us-main-img {
        height: 300px;
    }
}


/* Blog Section Started Here */
.blog-sect {
    padding: 70px 15%;
}

.blog-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.blog-header h6 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 400;
}

.blog-header h1 {
    color: var(--primary-color);
    font-size: 40px;
    width: 50%;
    text-align: center;
}

.blog-cards-container {
    margin: 30px 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.blog-card {
    background: rgb(252, 244, 238);
    padding: 20px;
    border-radius: 30px;
}

.blog-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 15px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.blog-card-img img:hover {
    transform: scale(1.1);
    /* transform: rotate(2deg); */
}

.blog-card-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-card-details a {
    text-decoration: none;
}

.blog-card-start {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-start span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    font-size: 14px;
}

.blog-card-details h3 {
    color: var(--primary-color);
    font-size: 22px;
    transition: all 0.3s ease;
}

.blog-card-details h3:hover {
    color: var(--secondary-color);
}

.blog-card-details p {
    color: var(--text-color);
    font-size: 15px;
}

.blog-card-details .learn-more-btn {
    color: var(--text-light);
    background: var(--secondary-color);
    padding: 7px 14px;
    width: 50%;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.blog-card-details .learn-more-btn:hover {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.blog-sect .blog-all-pages{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: text-decoration 0.3s ease;
}

.blog-sect .blog-all-pages:hover{
    text-decoration: underline;
}

/* Blog Responsive Area */

@media (max-width: 1280px) {
    .blog-sect {
        padding: 70px 10%;
    }
}

@media (max-width: 1080px) {
    .blog-sect {
        padding: 70px 5%;
    }

    .blog-card-details a h3 {
        font-size: 20px;
    }

    .blog-card-details p {
        font-size: 13px;
    }

    .blog-card-img {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .blog-sect {
        padding: 0px 5%;
    }

    .blog-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-header h1 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-cards-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-header h1 {
        font-size: 30px;
    }
}

/* Footer Started Here */
.footer {
    margin: 50px 0px 0px 0px;
    padding: 70px 15%;
    background: var(--dark-color);
    color: var(--text-light);
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    width: 150px;
    height: 150px;
    text-align: center;
    overflow: hidden;
    background: var(--text-light);
    padding: 15px;
    border-radius: 15px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 50px 0px;
    border-bottom: 1px solid var(--text-light);
    padding-bottom: 40px;
    border-top: 1px solid var(--text-light);
    padding-top: 40px;
}

.footer-contact-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-follow-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-social-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Area Started Here */
@media (max-width: 1280px) {
    .footer {
        padding: 70px 10%;
    }
}

@media (max-width: 1080px) {
    .footer {
        padding: 70px 5%;
    }
}

@media (max-width: 992px) {
    .footer-contact {
        margin: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Login Page */
.login-sect {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: ; */
    height: 100vh;
}

/* Section styling */
.login-sect {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    overflow: hidden;
}

/* Background shapes */
.login-sect::before,
.login-sect::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.login-sect::before {
    width: 400px;
    height: 400px;
    background: #ff6f91;
    top: -100px;
    left: -100px;
    transform: rotate(45deg);
}

.login-sect::after {
    width: 500px;
    height: 500px;
    background: #ff9671;
    bottom: -150px;
    right: -150px;
    transform: rotate(-30deg);
}

/* Optional: wave shapes */
.login-sect .wave {
    position: absolute;
    width: 200%;
    height: 200px;
    bottom: 0;
    left: -50%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: waveMove 6s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-25%) translateY(15px);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

/* Login container styling (above shapes) */
.login-container {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Optional: slight animation for shapes */


.login-container {
    padding: 29px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.login-container h6 {
    color: var(--secondary-color);
    font-size: 15px;
}

.login-logo {
    width: 110px;
    height: 100px;
}

.login-logo img {
    width: 100%;
    height: 100%;
}

.login-text h5 {
    text-align: center;
    color: var(--primary-color);
    font-size: 18px;
}

.login-inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25px;
}

.login-input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-input label {
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: start;
}

.login-input input {
    padding: 12px 15px;
    border-radius: 20px;
    border: 1px solid var(--text-color);
    outline: none;
}

.login-inputs .sub-btn {
    padding: 8px 15px;
    border: 1px solid var(--secondary-color);
    color: var(--text-light);
    background: var(--secondary-color);
    border-radius: 20px;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-inputs .sub-btn:hover {
    background: transparent;
    color: var(--secondary-color);
}

.login-container .powered-refer {
    color: var(--text-color);
    font-size: 13px;
}

.powered-refer a {
    text-decoration: none;
    color: var(--primary-color);
}

.powered-refer a:hover {
    color: var(--secondary-color);
}

/* Contact Us Page Started Here */
.contact-header {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact-header h1 {
    margin: 0;
    font-size: 36px;
}

.contact-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    margin: 12px 0;
    font-size: 15px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--primary-color);
}

.map-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}