﻿/* ==========================================
   01. Variables & Reset
========================================== */

:root {
    --primary: #1e3c72;
    --primary-dark: #2a5298;
    --secondary: #17a2b8;
    --dark: #0f172a;
    --text: #1f2937;
    --text-muted: #6b7280;
    --bg: #f5f7fb;
    --white: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================
   02. Layout
========================================== */

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    width: 100%;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 24px;
    font-weight: 700;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: .3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
    }
/* ==========================================
   03. Header
========================================== */

.my-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    padding: 12px 24px;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    display: block;
    width: auto;
    height: 80px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}

.header-title {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.header-subtitle {
    color: var(--text-muted);
    font-size: .85rem;
    font-weight:600;
}
/* ==========================================
   04. Navigation
========================================== */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
   padding-right:50px;
}

    .main-nav ul {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 0;
    }

        .main-nav ul li a {
            display: inline-block;
            padding: 10px 16px;
            border-radius: 10px;
            color: var(--text);
            font-size: .95rem;
            font-weight: 500;
            transition: all .25s ease;
        }

            .main-nav ul li a:hover {
                background: var(--primary);
                color: #fff;
                transform: translateY(-2px);
            }

        .main-nav ul li.active a {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 8px 18px rgba(30,60,114,.25);
        }

/* ==========================================
   05. Hero Section
========================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 7%;
    background: linear-gradient(135deg,rgba(8,20,48,.82),rgba(30,60,114,.70)), url("../img/5df8042a-f2ff-46a9-b95d-30fc0fe1a5b7.png") center/cover no-repeat;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 55%);
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 28px;
    padding: 45px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 18px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 30px;
    font-size: .9rem;
    font-weight: 700;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    line-height: 1.5;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255,255,255,.88);
    line-height: 2.2;
    font-size: 1.08rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.cta-call,
.cta-secondary {
    padding: 15px 32px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
}

.cta-call {
    background: #fff;
    color: #1e3c72;
}

    .cta-call:hover {
        transform: translateY(-4px);
    }

.cta-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
}

    .cta-secondary:hover {
        background: rgba(255,255,255,.12);
        transform: translateY(-4px);
    }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.hero-stat {
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 18px 10px;
}

    .hero-stat strong {
        display: block;
        color: #fff;
        font-size: 1.7rem;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .hero-stat span {
        color: rgba(255,255,255,.82);
        font-size: .9rem;
    }

@media(max-width:768px) {

    .hero-section {
        min-height: auto;
        padding: 70px 20px;
    }

    .hero-content {
        padding: 28px;
    }

        .hero-content h1 {
            font-size: 2rem;
        }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-call,
    .cta-secondary {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2,1fr);
    }
}
/* ==========================================
   06-a. Services Section (Base)
========================================== */

.ronin-services {
    padding:30px 6%;
    background: var(--bg);
}

.ronin-services-container {
    max-width: 1180px;
    margin: 0 auto;
}

    .ronin-services-container h2 {
        text-align: center;
        margin-bottom: 10px;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 800;
        color: var(--dark);
    }

.ronin-subtitle {
    text-align: center;
    margin-bottom: 42px;
    font-size: 1rem;
    color: var(--text-muted);
}

/* GRID */
.ronin-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* CARD */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    transition: .3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(15,23,42,.16);
    }
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .service-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

/* IMAGE */
.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

    .service-content h3 {
        margin-bottom: 12px;
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--dark);
    }

    .service-content p {
        color: var(--text-muted);
        line-height: 2;
        font-size: .98rem;
    }
/* ==========================================
   06-a. Services Section (Base)
========================================== */

.ronin-services {
    padding:60px 6%;
    background: var(--bg);
}

.ronin-services-container {
    max-width: 1180px;
    margin: 0 auto;
}

    .ronin-services-container h2 {
        text-align: center;
        margin-bottom: 10px;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 800;
        color: var(--dark);
    }

.ronin-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--text-muted);
}

/* GRID */
.ronin-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* CARD */
.service-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .service-content h3 {
        margin-bottom: 10px;
    }

    .service-content p {
        flex: 1;
        color: #555;
        line-height: 1.8;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.service-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    background: #1e3c72;
    color: #fff;
    text-decoration: none;
}
/*========================================
        ABOUT PAGE
========================================*/

.about-page {
    direction: rtl;
    padding: 40px 20px;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}



/*========================================
        BANNER
========================================*/

.about-banner {
    text-align: center;
    padding: 70px 25px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    margin-bottom: 35px;
}



    .about-banner h1 {
        font-size: 2.6rem;
        font-weight: 800;
        margin-bottom: 15px;
    }



    .about-banner p {
        font-size: 1.1rem;
        opacity: .95;
    }



/*========================================
        CONTENT
========================================*/


.about-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 45px;
}



.about-text h2 {
    color: var(--dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
}



.about-text p {
    color: var(--text-muted);
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 15px;
}


.about-image {
    text-align: center;
}



    .about-image img {
        max-width: 100%;
        border-radius: 30px;
        box-shadow: 0 15px 40px rgba(15,23,42,.12);
    }





/*========================================
        FEATURES
========================================*/


.about-features {
    max-width: 1250px;
    margin: 90px auto;
    padding: 0 20px;
    text-align: center;
}

    .about-features h2 {
        color: var(--dark);
        font-size: 2.4rem;
        font-weight: 800;
        margin-bottom: 18px;
    }

    .about-features h2::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: var(--primary);
        margin: 18px auto 50px;
        border-radius: 20px;
    }

.feature-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 25px;
}

.feature-box {
    background: #fff;
    padding: 35px 20px;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
    transition: .35s;
}

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(15,23,42,.15);
    }

    .feature-box h3 {
        color: var(--primary);
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 18px;
        line-height: 1.7;
    }

    .feature-box p {
        color: var(--text-muted);
        line-height: 2.1;
        font-size: .98rem;
    }
@media(max-width:992px) {

    .feature-list {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {

    .feature-list {
        grid-template-columns: 1fr;
    }

    .about-features h2 {
        font-size: 2rem;
    }

    .feature-box {
        padding: 35px 25px;
    }
}
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg,#1e3c72,#2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(30,60,114,.25);
}



/*========================================
        CTA
========================================*/


.about-cta {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    padding: 60px 30px;
    border-radius: 28px;
    background: var(--bg);
}



    .about-cta h2 {
        color: var(--dark);
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 15px;
    }



    .about-cta p {
        color: var(--text-muted);
        line-height: 2;
        margin-bottom: 30px;
    }



/* Buttons */

.btn-about {
    display: inline-block;
    padding: 14px 30px;
    margin: 5px;
    border-radius: 14px;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    transition: .3s ease;
}



    .btn-about:hover {
        background: var(--primary-dark);
    }



    .btn-about.secondary {
        background: #475569;
    }



        .btn-about.secondary:hover {
            background: #334155;
        }



/*========================================
        MOBILE
========================================*/


@media(max-width:768px) {


    .about-content {
        grid-template-columns: 1fr;
    }


    .feature-list {
        grid-template-columns: 1fr;
    }


    .about-banner h1 {
        font-size: 2rem;
    }
}
        
/* ==========================================
   08. Footer
========================================== */

/*========================================
        FOOTER
========================================*/

.my-footer {
    background: var(--dark);
    color: #e2e8f0;
    padding: 55px 25px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.08);
}



    .my-footer .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 40px;
        text-align: right;
    }



    .my-footer .footer-column h3 {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 800;
        margin-bottom: 20px;
    }



    .my-footer .footer-column p {
        color: #cbd5e1;
        line-height: 2;
        font-size: .95rem;
    }



    .my-footer .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }



    .my-footer .footer-column li {
        color: #cbd5e1;
        margin-bottom: 12px;
    }



    .my-footer .footer-bottom {
        max-width: 1200px;
        margin: 35px auto 0;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,.08);
        text-align: center;
        color: #94a3b8;
        font-size: .9rem;
    }
.footer-about {
    display: block;
    flex-direction: column;
}
/* ==========================================
   09. Responsive (Final Polish)
========================================== */

@media (max-width: 992px) {

    .my-header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .hero-section {
        padding: 60px 5%;
        min-height: 68vh;
    }

    .ronin-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero-content {
        padding: 26px 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-call,
    .cta-secondary {
        width: 100%;
    }

    .ronin-services-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.55rem;
    }

    .hero-content p {
        font-size: .96rem;
    }

    .feature-box {
        width: 100%;
    }
}
/* ===== BUTTON SYSTEM FIX ===== */

.btn,
.service-btn,
.btn-about,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
}

/* Primary (Services) */
.btn-primary,
.service-btn {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover,
    .service-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

/* Secondary (Home / About) */
.btn-secondary,
.btn-about.secondary {
    background: #666;
    color: #fff;
}

    .btn-secondary:hover,
    .btn-about.secondary:hover {
        background: #444;
    }
.service-card.featured {
    position: relative;
    transform: scale(1.06);
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #1e3c72, #2a5298) border-box;
    box-shadow: 0 20px 50px rgba(30, 60, 114, 0.25);
    transition: all 0.3s ease;
    animation: glowPulse 2.5s infinite ease-in-out;
}

    /* Badge */
    .service-card.featured::before {
        content: "ویژه";
        position: absolute;
        top: 14px;
        left: 14px;
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        color: #fff;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: bold;
        box-shadow: 0 8px 20px rgba(30, 60, 114, 0.35);
    }

    /* Hover effect */
    .service-card.featured:hover {
        transform: scale(1.09) translateY(-6px);
        box-shadow: 0 30px 70px rgba(30, 60, 114, 0.35);
    }

/* Glow animation */
@keyframes glowPulse {
    0% {
        box-shadow: 0 20px 50px rgba(30, 60, 114, 0.20);
    }

    50% {
        box-shadow: 0 25px 70px rgba(30, 60, 114, 0.35);
    }

    100% {
        box-shadow: 0 20px 50px rgba(30, 60, 114, 0.20);
    }
}
/*========================================
        SERVICE DETAIL HERO
========================================*/


.service-detail-page {
    overflow: hidden;
}


    /* Hero Wrapper */

    .service-detail-page .service-hero {
        position: relative;
        width: 100%;
        margin-top: 0;
        margin-bottom:90px;
    }


    /* Main Service Image */

    .service-detail-page .service-hero-image {
        width: 92%;
        height: 520px;
        object-fit: cover;
        display: block;
        margin: 30px auto 0;
        border-radius: 30px;
    }



    /* Floating Information Card */

    .service-detail-page .service-hero-card {
        position: relative;
        width: min(600px, 90%);
        margin: 0px auto 0;
        background: #fff;
        padding: 35px 45px;
        border-radius: 28px;
        box-shadow: 0 20px 50px rgba(15,23,42,.15);
        z-index: 2;
        text-align:center;
    }



        /* Service Title */

        .service-detail-page .service-hero-card h1 {
            font-size: clamp(2rem,4vw,2.8rem);
            line-height: 1.5;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 20px;
        }



    /* Short Description */

    .service-detail-page .service-short-description {
        font-size: 1.15rem;
        line-height: 2.3;
        color: var(--text-muted);
        margin-bottom: 35px;
    }



    /* Buttons Container */

    .service-detail-page .service-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content:center;
    }



        /* Buttons */

        .service-detail-page .service-buttons a {
            padding: 14px 30px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            transition: .3s ease;
        }


            .service-detail-page .service-buttons a:hover {
                transform: translateY(-4px);
            }
    /*========================================
        SERVICE CONTENT
========================================*/


    .service-detail-page .service-content-section {
        padding: 80px 0;
    }


    .service-detail-page .service-content-box {
        background: var(--white);
        border-radius: 28px;
        padding: 50px;
        box-shadow: 0 15px 40px rgba(15,23,42,.08);
        color: var(--text-muted);
        font-size: 1.12rem;
        line-height: 2.3;
    }


        /* Text Inside Content */

        .service-detail-page .service-content-box h2 {
            color: var(--dark);
            font-size: 2rem;
            margin-bottom: 25px;
            font-weight: 800;
        }


        .service-detail-page .service-content-box h3 {
            color: var(--dark);
            font-size: 1.5rem;
            margin: 30px 0 15px;
        }


        .service-detail-page .service-content-box p {
            margin-bottom: 20px;
        }


        .service-detail-page .service-content-box ul {
            padding-right: 25px;
        }


        .service-detail-page .service-content-box li {
            margin-bottom: 12px;
        }





    /*========================================
        FEATURES
========================================*/


    .service-detail-page .service-features {
        padding: 80px 0;
    }


        .service-detail-page .service-features h2 {
            text-align: center;
            font-size: 2.2rem;
            color: var(--dark);
            font-weight: 800;
            margin-bottom: 50px;
        }



    /* Grid */

    .service-detail-page .features-grid {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 25px;
    }



    /* Feature Cards */

    .service-detail-page .feature-box {
        background: var(--white);
        border-radius: 24px;
        padding: 35px 25px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(15,23,42,.08);
        transition: .3s ease;
    }


        .service-detail-page .feature-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 45px rgba(15,23,42,.15);
        }



    /* Icon */

    .service-detail-page .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 25px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        font-weight: 800;
        box-shadow: 0 8px 20px rgba(13,110,253,.25);
    }



    /* Feature Title */

    .service-detail-page .feature-box h3 {
        color: var(--dark);
        font-size: 1.2rem;
        margin-bottom: 15px;
    }



    /* Feature Text */

    .service-detail-page .feature-box p {
        color: #555;
        line-height: 2;
        font-size: .95rem;
    }
    /*========================================
        SERVICE CTA
========================================*/


    .service-detail-page .service-cta {
        padding: 90px 0;
    }


        .service-detail-page .service-cta .container {
            background: linear-gradient(135deg, var(--primary), #1e40af);
            border-radius: 28px;
            padding: 60px 40px;
            text-align: center;
            color: white;
        }



        .service-detail-page .service-cta h2 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 20px;
        }



        .service-detail-page .service-cta p {
            max-width: 700px;
            margin: 0 auto 35px;
            line-height: 2.2;
            font-size: 1.1rem;
        }



    /* CTA Buttons */

    .service-detail-page .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }



        .service-detail-page .cta-buttons a {
            padding: 15px 32px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            transition: .3s ease;
        }



            .service-detail-page .cta-buttons a:hover {
                transform: translateY(-4px);
            }





/*========================================
        RESPONSIVE
========================================*/


@media(max-width:991px) {


    .service-detail-page .service-hero-image {
        height: 550px;
    }


    .service-detail-page .service-hero-card {
        right: 5%;
        width: 90%;
        padding: 35px;
    }


    .service-detail-page .features-grid {
        grid-template-columns: repeat(2,1fr);
    }
}



@media(max-width:768px) {


    .service-detail-page .service-hero {
        margin-bottom: 120px;
    }


    .service-detail-page .service-hero-image {
        height: 450px;
    }


    .service-detail-page .service-hero-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: auto;
        margin: -80px 20px 0;
    }


    .service-detail-page .service-content-box {
        padding: 30px;
        font-size: 1rem;
    }


    .service-detail-page .features-grid {
        grid-template-columns: 1fr;
    }


    .service-detail-page .service-buttons,
    .service-detail-page .cta-buttons {
        flex-direction: column;
    }


        .service-detail-page .service-buttons a,
        .service-detail-page .cta-buttons a {
            text-align: center;
            width: 100%;
        }
}



@media(max-width:480px) {


    .service-detail-page .service-hero-card h1 {
        font-size: 1.7rem;
    }


    .service-detail-page .service-cta .container {
        padding: 40px 25px;
    }
}
/*==========================
    Admin Login
===========================*/

.login-box {
    max-width: 450px;
    margin: 70px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .login-box h2 {
        text-align: center;
        font-weight: 700;
        margin-bottom: 30px;
    }

    .login-box .form-control {
        margin-bottom: 18px;
        height: 48px;
        border-radius: 8px;
    }

.login-btn {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.login-message {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    color: #d9534f;
    font-weight: 600;
}
/*=========================
      ADMIN PANEL
==========================*/

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f4f6f9;
}

.admin-sidebar {
    width: 260px;
    background: #1f2937;
    color: white;
    padding: 30px 20px;
}

    .admin-sidebar h3 {
        margin-bottom: 35px;
        text-align: center;
        font-weight: 700;
    }

    .admin-sidebar a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 14px 18px;
        margin-bottom: 10px;
        border-radius: 8px;
        transition: .3s;
    }

        .admin-sidebar a:hover {
            background: #2563eb;
        }

.admin-content {
    flex: 1;
    padding: 35px;
}
.service-section {
    margin-bottom: 90px;
}

.section-header {
    margin-bottom: 28px;
}

.service-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.8;
}

.section-line {
    display: block;
    width: 90px;
    height: 5px;
    border-radius: 30px;
    background: linear-gradient(90deg,#0d6efd,#58a6ff);
}

.service-section-text {
    font-size: 1.08rem;
    color: #444;
    line-height: 2.5;
    text-align: justify;
}
/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: 60px 0;
}

.contact-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 800;
    color: #222;
}

.contact-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
    color: #555;
    line-height: 2.3;
    font-size: 1.05rem;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 25px;
    text-align: center;
}

.icon-box {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.info-box h4 {
    font-weight: 800;
    margin-bottom: 15px;
    color: #222;
}

.info-box p {
    color: #444;
    line-height: 2;
}

.form-box {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 25px;
}

    .form-box .form-control {
        margin-bottom: 20px;
        border-radius: 12px;
        padding: 15px;
    }

.map-box {
    margin-top: 50px;
    border-radius: 25px;
    overflow: hidden;
}
/*========================================
        ERROR 404
========================================*/

.error404-page {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error404-box {
    max-width: 750px;
    width: 100%;
    background: var(--white);
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
}

.error-code {
    font-size: 96px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error404-box h1 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 18px;
}

.error404-box p {
    color: var(--text-muted);
    line-height: 2;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 35px;
}

.error-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* موبایل */

@media (max-width:768px) {

    .error404-page {
        padding: 70px 15px;
    }

    .error404-box {
        padding: 45px 25px;
    }

    .error-code {
        font-size: 72px;
    }

    .error404-box h1 {
        font-size: 1.6rem;
    }

    .error-buttons {
        flex-direction: column;
    }

        .error-buttons a {
            width: 100%;
        }
}
.menu-toggle {
    display: none;
}
/* =========================
   Navigation
========================= */

.main-nav {
    margin-right: auto;
    display: flex;
    align-items: center;
    flex: 1;
}


    .main-nav ul {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
    }


        .main-nav ul li a {
            display: inline-block;
            padding: 10px 16px;
            border-radius: 10px;
            color: var(--text);
            font-size: .95rem;
            font-weight: 500;
            transition: .25s;
        }


            .main-nav ul li a:hover {
                background: var(--primary);
                color: white;
            }

@media (max-width:768px) {

    .my-header {
        position: relative;
        min-height: 100px;
        height: auto;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content:flex-start;
    }


    .logo-container {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding-left: 45px;
    }


    .site-logo {
        height: 50px;
        width: auto;
        flex-shrink: 0;
    }


    .logo-container > div {
        min-width: 0;
    }


    .header-title {
        font-size: .95rem;
        white-space: nowrap;
    }


    .header-subtitle {
        font-size: .75rem;
        white-space: nowrap;
    }


    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        position: absolute;
        left: 30px;
        top: 40%;
        margin-right:40px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        padding: 0;
        border: none;
        background: transparent;
        z-index: 10;
    }


        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            border-radius: 5px;
        }


    .main-nav {
        display: none;
    }
    .logo-container > div {
        display: flex;
        flex-direction: column;
        margin-right:25px;
        text-align:center;
    }
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    z-index: 999;
}


    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 15px;
    }


    .mobile-menu li {
        margin-bottom: 10px;
    }


    .mobile-menu a {
        display: block;
        padding: 12px;
        color: var(--text);
        border-radius: 8px;
    }
        .mobile-menu a:hover {
            background: #f3f7ff;
            color: var(--primary);
        }

    .mobile-menu li.active a {
        background: var(--primary);
        color: #fff;
        border-radius: 10px;
    }
    .mobile-menu.show {
        display: block;
    }
