@charset "utf-8";
/* CSS Document */
@font-face {
	font-family: "Vazirmatn";
	src: url(Vazirmatn-Regular.ttf);
  }

        :root {
            --navy-dark: #00122e;
            --navy: #001f3f;
            --blue: #0066cc;
            --blue-light: #0088ff;
            --bg-light: #f4f7fa;
            --white: #ffffff;
            --text-dark: #1a202c;
            --text-muted: #4a5568;
            --shadow: 0 8px 25px rgba(0,0,0,0.08);
            --transition: all 0.4s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Vazirmatn','Tahoma', 'Segoe UI', sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            direction: rtl;
            text-align: right;
            line-height: 1.7;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--navy-dark);
            color: #d1d5db;
            font-size: 0.85rem;
            padding: 0.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .top-bar-info span {
            margin-left: 1.5rem;
        }

        .top-bar-info i {
            color: var(--blue-light);
            margin-left: 0.4rem;
        }

        /* Header & Navigation */
        header {
            background-color:#CEE0F9;
            color:#000;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .logo {
            font-size: 1.4rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            color: var(--blue-light);
            font-size: 1.8rem;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 1.8rem;
        }

        nav a {
            color:#000;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        nav a:hover {
            color: var(--blue-light);
        }

        .btn-portal-header {
            background: linear-gradient(135deg, var(--blue), var(--blue-light));
            color: var(--white);
            padding: 0.6rem 1.4rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(0,102,204,0.3);
            transition: var(--transition);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
			text-align:center;
            gap: 8px;
        }

        .btn-portal-header:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0,102,204,0.5);
        }

        /* Mobile hamburger navigation */
        .menu-toggle {
            display: none;
            border: 0;
            background: transparent;
            color: var(--navy);
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.35rem 0.5rem;
            line-height: 1;
        }

        @media (max-width: 768px) {
            header {
                padding: 0.8rem 1rem;
                flex-wrap: wrap;
                position: sticky;
            }

            .logo img {
                max-width: 190px;
                height: auto;
            }

            .menu-toggle {
                display: block;
            }

            header nav {
                display: none;
                position: static;
                flex: 0 0 100%;
                width: 100%;
                background: #CEE0F9;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
				text-align:center;
                padding: 0.4rem 0 0.8rem;
                box-shadow: none;
                border-top: 1px solid rgba(0,31,63,0.12);
            }

            header nav.open {
                display: flex;
            }

            header nav a {
                display: block;
                padding: 0.8rem 0.5rem;
                border-bottom: 1px solid rgba(0,31,63,0.10);
            }

            header nav a:last-child {
                border-bottom: 0;
            }
        }

        /* Hero Light Slider Section */
        .hero-slider {
            position: relative;
            width: 100%;
            height: 480px;
            overflow: hidden;
            background-color: #eaf1f8;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide.active {
            opacity: 1;
            visibility: visible;
        }

        .slide-grid {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 3rem;
            align-items: center;
            z-index: 2;
        }

        .slide-text h1 {
            font-size: 2.3rem;
            color: var(--navy);
            margin-bottom: 1rem;
            font-weight: 800;
            line-height: 1.3;
        }

        .slide-text p {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-bottom: 1.8rem;
            line-height: 1.7;
        }

        .slide-image-box {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 31, 63, 0.15);
            border: 4px solid var(--white);
            height: 320px;
        }

        .slide-image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .slide.active .slide-image-box img {
            transform: scale(1.03);
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--white);
            color: var(--navy);
            border: 1px solid #dcdfe6;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        .slider-arrow:hover {
            background: var(--blue);
            color: var(--white);
            border-color: var(--blue);
        }

        .slider-arrow.prev { right: 20px; }
        .slider-arrow.next { left: 20px; }

        .slider-dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background: var(--blue);
            width: 26px;
            border-radius: 6px;
        }

        /* Horizontal Navy Stats Bar */
        .navy-stats-bar {
            background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-dark) 100%);
            color: var(--white);
            padding: 1.8rem 1.5rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            border-top: 3px solid var(--blue);
            border-bottom: 3px solid var(--blue);
        }

        .stats-horizontal-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .stat-item-horizontal {
            display: flex;
            align-items: center;
            gap: 1.2rem;
            padding: 0.5rem 1rem;
        }

        .stat-item-horizontal i {
            font-size: 2.2rem;
            color: var(--blue-light);
        }

        .stat-item-horizontal .number {
            font-size: 1.7rem;
            font-weight: bold;
            color: var(--white);
            line-height: 1.1;
        }

        .stat-item-horizontal .label {
            color: #d1d5db;
            font-size: 0.85rem;
        }

        .stat-divider {
            width: 1px;
            height: 40px;
            background: rgba(255, 255, 255, 0.15);
        }

        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 2.5rem auto;
            padding: 0 1.5rem;
        }

        .section-title {
            text-align: center;
            margin-bottom: 2.2rem;
        }

        .section-title h2 {
            color: var(--navy);
            font-size: 1.8rem;
            position: relative;
            display: inline-block;
            padding-bottom: 8px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 50px;
            height: 3px;
            background-color: var(--blue);
            border-radius: 2px;
        }

        .section-title p {
            color: var(--text-muted);
            margin-top: 0.4rem;
            font-size: 0.95rem;
        }

        /* Compact Services Grid (4 items now) */
        .services-grid-compact {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3.5rem;
        }

        .service-card-compact {
            background: var(--white);
            padding: 1.5rem 1.3rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: var(--shadow);
            border-top: 4px solid var(--blue);
            transition: var(--transition);
            border-left: 1px solid #eef2f6;
            border-right: 1px solid #eef2f6;
            border-bottom: 1px solid #eef2f6;
        }

        .service-card-compact:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,102,204,0.12);
            border-top-color: var(--blue-light);
        }

        .service-card-compact i {
            font-size: 2.1rem;
            color: var(--blue);
            margin-bottom: 0.8rem;
            display: inline-block;
        }

        .service-card-compact h3 {
            font-size: 1.1rem;
            color: var(--navy);
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .service-card-compact p {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.5;
        }

        /* Two-Column Section after Services: Login (Right) & About Us (Left) */
        .info-split-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .info-card {
            background: var(--white);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            border-top: 4px solid var(--navy);
        }

        .info-card h3 {
            color: var(--navy);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 2px solid #edf2f7;
            padding-bottom: 0.7rem;
        }

        .info-card h3 i {
            color: var(--blue);
        }

        /* Inline Login Form Styles */
        .login-inline-form .form-group {
            margin-bottom: 1.1rem;
        }

        .login-inline-form label {
            display: block;
            margin-bottom: 0.3rem;
            color: var(--navy);
            font-size: 0.88rem;
            font-weight: bold;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
        }

        .login-inline-form input {
            width: 100%;
            padding: 0.7rem 2.4rem 0.7rem 1rem;
            border: 1px solid #dcdfe6;
            border-radius: 8px;
            outline: none;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .login-inline-form input:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
        }

        .btn-submit-inline {
            width: 100%;
            background-color: var(--blue);
            color: var(--white);
            border: none;
            padding: 0.75rem;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 0.5rem;
        }

        .btn-submit-inline:hover {
            background-color: var(--navy);
        }
        .error-msg {
            background-color: #fde8e8;
            color: #e53e3e;
            padding: 0.6rem;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            text-align: center;
            border-right: 4px solid #e53e3e;
        }

        /* About Us Text Content */
        .about-content p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .about-features {
            list-style: none;
            margin-top: 1.2rem;
        }

        .about-features li {
            margin-bottom: 0.6rem;
            font-size: 0.9rem;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .about-features li i {
            color: var(--blue);
        }
        /* certificates */
		.cert-logos {
			display: flex;
			justify-content: space-around;
			align-items: center;
			flex-wrap: wrap;
			gap: 20px;
			background: var(--white);
			border-radius: 12px;
			padding: 2rem;
			box-shadow: var(--shadow);
			border-top: 4px solid var(--navy);
		}
		
		.cert-logos img {
			max-height: 100px;
			opacity: 1;
			transition: all 0.3s;
		}
		
		.cert-logos img:hover {
			opacity: 0.6;
		}

        /* Footer */
        footer {
            background-color: var(--navy-dark);
            color: #a0aec0;
            padding: 3.5rem 2rem 1.5rem;
            margin-top: 3rem;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 2rem;
            margin-bottom: 2.5rem;
        }

        .footer-col h4 {
            color: var(--white);
            font-size: 1.05rem;
            margin-bottom: 1rem;
            position: relative;
            padding-bottom: 6px;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 30px;
            height: 3px;
            background-color: var(--blue);
        }

        .footer-col p {
            font-size: 0.88rem;
            line-height: 1.7;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 0.5rem;
        }

        .footer-col ul li a {
            color: #a0aec0;
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.88rem;
        }

        .footer-col ul li a:hover {
            color: var(--blue-light);
            padding-right: 5px;
        }

        .footer-bottom {
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 1.2rem;
            font-size: 0.85rem;
        }

        @media (max-width: 900px) {
            .slide-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
            .slide-image-box { height: 240px; }
            .stat-divider { display: none; }
            .stats-horizontal-container { flex-direction: column; text-align: center; }
            .stat-item-horizontal { flex-direction: column; gap: 0.5rem; }
            .info-split-section { grid-template-columns: 1fr; }
        }

        /* Prevent the mobile slider content from overflowing upward
           beneath the sticky blue header. */
        @media (max-width: 768px) {
            .hero-slider {
                height: 650px;
            }

            .slide {
                height: 100%;
                align-items: flex-start;
            }

            .slide-grid {
                padding: 2rem 3.5rem 3.5rem;
                gap: 1.2rem;
                align-content: start;
            }

            .slide-text h1 {
                font-size: 1.65rem;
                line-height: 1.45;
                margin-bottom: 0.7rem;
            }

            .slide-text p {
                font-size: 0.95rem;
                line-height: 1.7;
                margin-bottom: 1rem;
            }

            .slide-image-box {
                height: 210px;
            }
        }

        @media (max-width: 420px) {
            .hero-slider {
                height: 670px;
            }

            .slide-grid {
                padding-right: 3rem;
                padding-left: 3rem;
            }

            .slide-image-box {
                height: 190px;
            }
        }


