/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: iransans;
}




body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
	background-image: url("../img/img-root/bg-pattern-service-icon-768x768.jpg");
	    background-repeat: repeat;
    background-size: 25% auto;
	background-attachment: fixed;
}



.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    background: #2d3748;
   /* background: white;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #667eea;
    font-size: 24px;
}

.logo a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}


.nav-menus {
   /* display: flex;  
    list-style: none;
    gap: 25px;
	*/
	
	
	 display: flex;
    list-style: none;
    gap: 25px;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
	
}



.nav-menu a {
	/*
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
	*/
	text-decoration: none;
    color: #abbbf7;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
	
	
}

.nav-menu a:hover {
    color: #ffffff;
    background: #228d88;
}

.nav-menu a i {
    margin-left: 5px;
}

.register-btn {
    background: #667eea;
    color: white !important;
}

.register-btn:hover {
    background: #5a67d8 !important;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 150px;
    list-style: none;
}

.submenu li {
    border-bottom: 1px solid #eee;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

.submenu a:hover {
    background: #f5f5f5;
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
}

/* Footer Styles */
.main-footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
}

/* Responsive */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .user-menu .submenu {
        position: static;
        box-shadow: none;
        display: none;
    }
    
    .user-menu:hover .submenu {
        display: block;
    }
}