/* ==========================================
   CSS VARIABLES & ROOT SETTINGS
   ========================================== */
:root {
    /* Primary Colors */
    --primary-green: #27ae60;
    --white: #ffffff;
    
    /* Icon Colors - Gradients */
    --icon-pink: #ff6b81;
    --icon-pink-light: #ff8ca1;
    --icon-yellow: #feca57;
    --icon-yellow-light: #fedc8a;
    --icon-blue: #4bcffa;
    --icon-blue-light: #79d7fb;
    --icon-green: #1dd1a1;
    --icon-green-light: #57e0be;
    --icon-brown: #c07a3e;
    --icon-brown-light: #d99a66;
	--icon-purple: #8b3ec0;
    --icon-purple-light: #ba66d9;
    
    /* Text Colors */
    --text-dark: #34495e;
    --text-light: #7f8c8d;
    
    /* Background & Border */
    --bg-light: #f8f9fa;
    --border-color: #ecf0f1;
    
    /* Typography & Effects */
    --font-family: 'Vazirmatn', sans-serif;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: var(--font-family);
	background-color: var(--bg-light);
	color: var(--text-dark);
	justify-content: center;
	align-items: center;
}

.site-main {
	min-height: auto;
}

/* ==========================================
   MOBILE CONTAINER
   ========================================== */
/*.mobile-container {
    width: 375px;
    min-height: 812px;
    background-color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    padding-bottom: 200px;
}*/

.mobile-container {
	overflow: hidden;
	position: relative;
	padding-bottom: 0;
	margin: 0 auto;
}

.main-content {
	max-width: 1190px;
	margin: 0 auto;
	min-height: calc(68vh);
}

/* ==========================================
   TOP HEADER
   ========================================== */
.top-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
}

.header-left {
    display: flex;
    gap: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-light);
}


/* ==========================================
   TAB NAVIGATION
   ========================================== */
.tab-nav {
	position: relative;
	display: flex;
	justify-content: space-around;
	padding: 0 1rem;
	border-bottom: 1px solid var(--border-color);
	max-width: 1190px;
	margin: 0 auto 30px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: var(--text-dark);
}

.magic-line {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 3px;
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}


/* ==========================================
   MAIN BANNER (Puffy Style)
   ========================================== */
.main-banner {
	margin: 1.5rem;
	padding: 1.5rem;
	color: var(--white);
	text-align: right;
	position: relative;
	background-color: #27ae60;
	border-radius: 22px;
	display: none;
}

#mainSlider {
	position: relative;
	box-shadow: 0 7px 16px rgb(41, 201, 134,.0);
}

.main-banner h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-banner p {
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 0.25rem;
}


/* ==========================================
   SERVICES GRID
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 1.5rem;
    text-align: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}


/* ==========================================
   ICON WRAPPER (Base Styles)
   ========================================== */
.icon-wrapper {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    position: relative;
    /*box-shadow: var(--shadow);*/
	z-index: 1;
    transition: transform 0.3s ease,
                box-shadow 0.4s ease,
                border-radius 0.3s ease;
}

.icon-wrapper:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);*/
}

/* Icon Styles Inside Wrapper */
.icon-wrapper i,
.icon-wrapper svg {
    color: var(--white);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
    transform: none !important;
}

.icon-wrapper i {
    font-size: 1.8rem;
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.back-fix {
	position: absolute;
	width: 70px;
	height: 70px;
	border: 1px solid #04773515;
	top: -5px;
}

/* ==========================================
   ICON GRADIENT COLORS
   ========================================== */
.icon-wrapper.pink {
    background: radial-gradient(circle, var(--icon-pink-light), var(--icon-pink));
}

.icon-wrapper.yellow {
    background: radial-gradient(circle, var(--icon-yellow-light), var(--icon-yellow));
}

.icon-wrapper.blue {
    background: radial-gradient(circle, var(--icon-blue-light), var(--icon-blue));
}

.icon-wrapper.green {
    background: radial-gradient(circle, var(--icon-green-light), var(--icon-green));
}

.icon-wrapper.brown {
    background: radial-gradient(circle, var(--icon-brown-light), var(--icon-brown));
}

.icon-wrapper.purple {
    background: radial-gradient(circle, var(--icon-purple-light), var(--icon-purple));
}


/* ==========================================
   UNIQUE SHAPES - Services Grid Icons
   ========================================== */
.services-grid .service-item:nth-child(12) .back-fix,
.services-grid .service-item:nth-child(1) .icon-wrapper,
.services-grid .service-item:nth-child(1) .icon-wrapper::before {
    border-radius: 48% 52% 51% 49% / 50% 48% 52% 50%;
}

.services-grid .service-item:nth-child(11) .back-fix,
.services-grid .service-item:nth-child(2) .icon-wrapper,
.services-grid .service-item:nth-child(2) .icon-wrapper::before {
    border-radius: 53% 47% 48% 52% / 49% 53% 47% 51%;
}

.services-grid .service-item:nth-child(10) .back-fix,
.services-grid .service-item:nth-child(3) .icon-wrapper,
.services-grid .service-item:nth-child(3) .icon-wrapper::before {
    border-radius: 50% 50% 54% 46% / 52% 49% 51% 48%;
}

.services-grid .service-item:nth-child(9) .back-fix,
.services-grid .service-item:nth-child(4) .icon-wrapper,
.services-grid .service-item:nth-child(4) .icon-wrapper::before {
    border-radius: 47% 53% 50% 50% / 46% 54% 46% 54%;
}

.services-grid .service-item:nth-child(8) .back-fix,
.services-grid .service-item:nth-child(5) .icon-wrapper,
.services-grid .service-item:nth-child(5) .icon-wrapper::before {
    border-radius: 52% 48% 53% 47% / 51% 50% 50% 49%;
}

.services-grid .service-item:nth-child(7) .back-fix,
.services-grid .service-item:nth-child(6) .icon-wrapper,
.services-grid .service-item:nth-child(6) .icon-wrapper::before {
    border-radius: 49% 51% 47% 53% / 54% 48% 52% 46%;
}

.services-grid .service-item:nth-child(6) .back-fix,
.services-grid .service-item:nth-child(7) .icon-wrapper,
.services-grid .service-item:nth-child(7) .icon-wrapper::before {
    border-radius: 51% 49% 52% 48% / 48% 51% 49% 52%;
}

.services-grid .service-item:nth-child(5) .back-fix,
.services-grid .service-item:nth-child(8) .icon-wrapper,
.services-grid .service-item:nth-child(8) .icon-wrapper::before {
    border-radius: 46% 54% 49% 51% / 53% 47% 53% 47%;
}

.services-grid .service-item:nth-child(4) .back-fix,
.services-grid .service-item:nth-child(9) .icon-wrapper,
.services-grid .service-item:nth-child(9) .icon-wrapper::before {
    border-radius: 54% 46% 50% 50% / 47% 52% 48% 53%;
}

.services-grid .service-item:nth-child(3) .back-fix,
.services-grid .service-item:nth-child(10) .icon-wrapper,
.services-grid .service-item:nth-child(10) .icon-wrapper::before {
    border-radius: 48% 52% 46% 54% / 50% 50% 50% 50%;
}

.services-grid .service-item:nth-child(2) .back-fix,
.services-grid .service-item:nth-child(11) .icon-wrapper,
.services-grid .service-item:nth-child(11) .icon-wrapper::before {
    border-radius: 51% 49% 53% 47% / 49% 51% 49% 51%;
}

.services-grid .service-item:nth-child(1) .back-fix,
.services-grid .service-item:nth-child(12) .icon-wrapper,
.services-grid .service-item:nth-child(12) .icon-wrapper::before {
    border-radius: 49% 51% 50% 50% / 52% 48% 52% 48%;
}

.services-grid .service-item:nth-child(13) .back-fix,
.services-grid .service-item:nth-child(13) .icon-wrapper,
.services-grid .service-item:nth-child(13) .icon-wrapper::before {
    border-radius: 49% 51% 50% 50% / 52% 48% 52% 48%;
}

.services-grid .service-item:nth-child(14) .back-fix,
.services-grid .service-item:nth-child(14) .icon-wrapper,
.services-grid .service-item:nth-child(14) .icon-wrapper::before {
    border-radius: 49% 51% 50% 50% / 52% 48% 52% 48%;
}

/* ==========================================
   BOTTOM SECTION CONTAINER
   ========================================== */
.bottom-section-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 220px;
}


/* ==========================================
   DECORATIVE SHAPES
   ========================================== */
.decorative-shapes {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Brown Shape */
.decorative-shapes::before {
	content: '';
	position: absolute;
	width: 150%;
	height: 150%;
	background-color: var(--icon-brown);
	opacity: 0.1;
	bottom: -85%;
	left: -50%;
	border-radius: 50% 50% 0 0;
	z-index: 1;
}

/* Blue Shape */
.decorative-shapes::after {
	content: '';
	position: absolute;
	width: 120%;
	height: 120%;
	background-color: var(--icon-blue);
	opacity: 0.1;
	bottom: -60%;
	right: -60%;
	border-radius: 50% 50% 0 0;
	z-index: 0;
}


/* ==========================================
   BOTTOM NAVIGATION (Glassmorphism)
   ========================================== */
.bottom-nav {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(86% - 40px);
	height: 80px;
	z-index: 10;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0 1rem;
	background: #fff;
	backdrop-filter: blur(15px);
	border-radius: 25px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
	max-width: 410px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-dark);
}


/* ==========================================
   BOTTOM NAV - Small Icon Wrappers
   ========================================== */
.bottom-nav-item .icon-wrapper.small {
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav-item .icon-wrapper.small i,
.bottom-nav-item .icon-wrapper.small svg {
    color: var(--white);
}

.bottom-nav-item .icon-wrapper.small svg {
    width: 22px;
    height: 22px;
}

.bottom-nav-item .icon-wrapper.small i {
    font-size: 1.4rem;
}


/* ==========================================
   UNIQUE SHAPES - Bottom Nav Icons
   ========================================== */
.bottom-nav-item:nth-child(1) .icon-wrapper {
    border-radius: 48% 52% 49% 51% / 52% 47% 53% 48%;
}

.bottom-nav-item:nth-child(2) .icon-wrapper {
    border-radius: 53% 47% 51% 49% / 48% 53% 47% 52%;
}

.bottom-nav-item:nth-child(3) .icon-wrapper {
    border-radius: 47% 53% 54% 46% / 50% 50% 50% 50%;
}

.bottom-nav-item:nth-child(4) .icon-wrapper {
    border-radius: 50% 50% 48% 52% / 54% 46% 54% 46%;
}

.soon, .soon * {
	cursor: wait;
}

.soon .icon-wrapper::before {
	content: "به زودی";
	position: absolute;
	top: -8px;
	left: -8px;
	font-size: 7pt;
	background-color: #ff0000;
	color: #fff;
	border-radius: 5px !important;
	padding: 0 4px;
}

.site-footer {
	display: none;
}