/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #35584f;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #ffffff;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span, 
.menu-toggle span::before, 
.menu-toggle span::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
}

.menu-toggle span::before {
    top: -8px;
}

.menu-toggle span::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

/* Cards Section */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.card {
    display: flex;
    background-color: #3f6d62;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 200px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Different background colors for each card */
.card:nth-child(1) {
    background-color: #3f7351;
}

.card:nth-child(2) {
    background-color: #3d6e7f;
}

.card:nth-child(3) {
    background-color: #b26d3d;
}

.card:nth-child(4) {
    background-color: #645f8c;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 1.1rem;
}

.arrow {
    display: inline-block;
    margin-right: 5px;
    font-size: 1.2rem;
}

.card-image {
    position: absolute;
    bottom: 0;
    right: 0%;
    width: 70%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.card-image img {
    max-height: 90%;
    max-width: 100%;
    object-fit: contain;
}

/* Form Styles */
.form-container {
    background-color: #2b4942;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    margin: 40px auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333;
    font-family: 'Vazirmatn', sans-serif;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a8576;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    text-align: center;
}

.btn:hover {
    background-color: #3d6d62;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: #8ccbbb;
}

/* Message Styles */
.success-message, .error-message {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success-message {
    background-color: #2ecc71;
    color: #fff;
}

.error-message {
    background-color: #e74c3c;
    color: #fff;
}

/* Phone Info */
.phone-info {
    background-color: #3d6d62;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Profile Page */
.profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 40px 0;
}

.profile-sidebar {
    background-color: #2b4942;
    border-radius: 10px;
    padding: 30px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #3d6d62;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    text-align: center;
    margin-bottom: 30px;
}

.profile-info h3 {
    margin-bottom: 10px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-size: 1.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    color: #8ccbbb;
}

.profile-referral {
    background-color: #3d6d62;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.profile-nav a {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.profile-nav a:hover {
    background-color: #3d6d62;
}

.profile-content {
    background-color: #2b4942;
    border-radius: 10px;
    padding: 30px;
}

.profile-content h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3d6d62;
}

/* Tests Table */
.tests-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tests-table th, .tests-table td {
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #3d6d62;
}

.tests-table th {
    background-color: #3d6d62;
    color: #fff;
}

/* Margin Utility */
.mt-15 {
    margin-top: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #2b4942;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #2b4942;
        z-index: 100;
        transition: right 0.3s ease;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 80px 30px;
    }
    
    nav ul li {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .profile {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .card {
        height: 180px;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .profile-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        width: 50%;
        margin-bottom: 15px;
    }
}
                   @font-face {
  font-family: 'Peyda100';
  src: url('../fonts/PeydaWebFaNum-Thin.4dc9791976a333b36501.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda200';
  src: url('../fonts/PeydaWebFaNum-ExtraLight.cb12d7d5e9d6131c285f.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda300';
  src: url('../fonts/PeydaWebFaNum-Light.e5c4aa2be8084a7fd345.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda400';
  src: url('../fonts/PeydaWebFaNum-Regular.a85fc388413d6fb2707b.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda500';
  src: url('../fonts/PeydaWebFaNum-Medium.5ae94427bffc3c292a70.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda600';
  src: url('../fonts/PeydaWebFaNum-SemiBold.bee880ae22ea6f0f046e.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda700';
  src: url('../fonts/PeydaWebFaNum-Bold.2106f9398d9799d35d55.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda800';
  src: url('../fonts/PeydaWebFaNum-ExtraBold.5d0e4f0b138c23493636.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda900';
  src: url('../fonts/PeydaWebFaNum-Black.ce8ffc88f1303a4ed135.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
body, html {
  font-family: 'Peyda400', sans-serif !important; /* Regular */
  font-weight: 400 !important;
}

h1, h2 {
  font-family: 'Peyda900', sans-serif !important; /* Black */
  font-weight: 900 !important;
}

h3, h4 {
  font-family: 'Peyda700', sans-serif !important; /* Bold */
  font-weight: 700 !important;
}

p {
  font-family: 'Peyda300', sans-serif !important; /* Light */
  font-weight: 300 !important;
  display: block !important;
}

strong, b {
  font-family: 'Peyda800', sans-serif !important; /* ExtraBold */
  font-weight: 800 !important;
}

em {
  font-family: 'Peyda200', sans-serif !important; /* ExtraLight */
  font-weight: 200 !important;
}

a {
  font-family: 'Peyda500', sans-serif !important; /* Medium */
  font-weight: 500 !important;
}

small, .caption {
  font-family: 'Peyda100', sans-serif !important; /* Thin */
  font-weight: 100 !important;
}

button, input, textarea, select {
  font-family: 'Peyda600', sans-serif !important; /* SemiBold */
  font-weight: 600 !important;
}
.input-group{
    direction: ltr !important;
}
.logo > a > img {
    height: 70px !important;
    border-radius: 5px;
}