@font-face {
     font-family: 'IRANSans';
     src: url('fonts/IRANSansWeb_Medium.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }
 
 :root {
     --primary-color: #f1c40f;
     --dark-color: #333;
     --light-color: #f4f4f4;
     --danger-color: #e74c3c;
     --success-color: #2ecc71;
 }
 
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'IRANSans', Arial, sans-serif;
 }
 
 body {
     direction: rtl;
     background-color: #f4f4f4;
     color: #333;
     line-height: 1.6;
     overflow-x: hidden;
 }
 
 a {
     text-decoration: none;
     color: #333;
 }
 
 ul {
     list-style: none;
 }
 
 /* Header Styles */
 header {
     background-color: #fff;
     padding: 10px 20px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
     position: relative;
     z-index: 100;
 }
 
 .search-container {
     display: flex;
     justify-content: center;
     align-items: center;
 }
 
 .search-box {
     display: flex;
     align-items: center;
     background-color: #f4f4f4;
     border-radius: 20px;
     padding: 5px 15px;
     width: 250px;
 }
 
 .search-box input {
     background: transparent;
     border: none;
     outline: none;
     width: 100%;
     padding: 5px;
 }
 
 .search-box button {
     background: transparent;
     border: none;
     cursor: pointer;
 }
 
 .contact-info {
     display: flex;
     align-items: center;
     gap: 15px;
 }
 
 .contact-info a {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 14px;
 }
 
 .contact-info i {
     color: var(--primary-color);
 }
 
 /* Sidebar Styles */
 .sidebar {
     position: fixed;
     top: 0;
     right: 0;
     height: 100%;
     width: 70px;
     background-color: var(--primary-color);
     z-index: 200;
     display: flex;
     flex-direction: column;
     align-items: center;
     padding-top: 80px;
 }
 
 .sidebar ul {
     display: flex;
     flex-direction: column;
     gap: 20px;
     width: 100%;
     height: 100%;
     justify-content: center;
     align-items: center;
 }
 
 .sidebar li {
     width: 100%;
     text-align: center;
     display: flex;
     justify-content: center;
     align-items: center;
     writing-mode: vertical-rl;
 }
 
 .sidebar a {
     display: block;
     padding: 15px 0;
     color: #fff;
     font-size: 20px;
     transition: all 0.3s ease;
 }
 
 .sidebar a:hover, .sidebar a.active {
     background-color: rgba(255,255,255,0.2);
 }
 
 /* Main Content Styles */
 main {
     margin-right: 70px;
     padding: 20px;
 }
 
 .hero-section {
     background-color: #333;
     color: #fff;
     padding: 40px;
     border-radius: 10px;
     margin-bottom: 30px;
     position: relative;
     overflow: hidden;
 }
 
 .hero-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: relative;
     z-index: 2;
 }
 
 .hero-image {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
 }
 
 .mouse-image {
     max-width: 100%;
     height: auto;
     transform: rotate(45deg);
     opacity: 0.7;
 }
 
 .hero-text {
     flex: 2;
     text-align: center;
 }
 
 .hero-text h1 {
     font-size: 2.5rem;
     margin-bottom: 10px;
     color: var(--primary-color);
 }
 
 .hero-text p {
     margin-bottom: 20px;
     font-size: 1.1rem;
 }
 
 .hero-info {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-bottom: 20px;
 }
 
 .hero-info p {
     display: flex;
     align-items: center;
     gap: 5px;
 }
 
 .hero-buttons {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-bottom: 15px;
 }
 
 .btn {
     padding: 8px 20px;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-size: 14px;
     transition: all 0.3s ease;
 }
 
 .btn-light {
     background-color: #f4f4f4;
     color: #333;
 }
 
 .btn-dark {
     background-color: #333;
     color: #fff;
     border: 1px solid #555;
 }
 
 .btn:hover {
     opacity: 0.9;
     transform: translateY(-2px);
 }
 
 .profile-image {
     flex: 1;
     display: flex;
     justify-content: center;
 }
 
 .profile-image img {
     max-width: 250px;
     border: 5px solid #fff;
     border-radius: 5px;
 }
 
 /* Bottom Navigation */
 .bottom-nav {
     display: flex;
     justify-content: space-around;
     background-color: #fff;
     padding: 15px;
     border-radius: 10px;
     margin-bottom: 30px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 }
 
 .nav-item a {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 16px;
     color: #333;
     transition: all 0.3s ease;
 }
 
 .nav-item a:hover {
     color: var(--primary-color);
 }
 
 .nav-item i {
     font-size: 20px;
     color: var(--primary-color);
 }
 
 /* About Section */
 .about-section {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 30px;
 }
 
 .about-container, .personal-info {
     background-color: #fff;
     border-radius: 10px;
     padding: 20px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 }
 
 .about-header h2, .personal-info h2 {
     color: #333;
     margin-bottom: 20px;
     padding-bottom: 10px;
     border-bottom: 2px solid #f1f1f1;
 }
 
 .about-text {
     line-height: 1.8;
     text-align: justify;
 }
 
 .highlight {
     color: var(--primary-color);
     font-weight: bold;
 }
 
 .info-details p {
     margin-bottom: 10px;
     display: flex;
     justify-content: space-between;
 }
 
 .info-details strong {
     color: #555;
 }
 
 .contact {
     margin-top: 15px;
 }

 .contact-me {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
 }

 .input {
     display: flex;
     flex-direction: column;
     margin-bottom: 15px;
 }

 #contactMe {
     width: 20%;
 }

 .contact-me input, textarea{
     width: 100%;
     margin: 0;
     font-family: inherit;
     line-height: inherit;
     width: 100%;
     border: 2px solid transparent;
     outline: none;
     background-color: hsla(0,0%,90%,.6);
     padding: .5rem 1rem;
     font-size: 1.1rem;
     margin-bottom: 22px;
     border-radius: 5px;
     transition: .6s;
 }
 
 #phone {
     text-align: center;
 }
 
 #name::placeholder {
     text-align: center;
 }

 textarea {
     transition: .2s;
     min-height: 8rem;
 }

.input label {
     text-align: center;
}

.submit {
     text-align: center;
}

.submit button {
     margin-top: 15px;
     text-align: center;
     padding: 5px;
     outline: none;
     width: 160px;
     height: 40px;
     border: 2px solid #28bd1b;
     font-size: 19px;
     border-radius: 19px;
     /* background-color: #1f2235; */
     align-items: center;
     justify-content: center;
     cursor: pointer;
}
.submit button:hover {
     color: rgb(32, 160, 38);
     border: 3px solid rgb(33, 221, 133);
     transition: .6s;
}
.submit button:disabled {
     color: inherit;
     background-color: #5c5c5caf;
     border: none !important;
}

.responseDiv {
     margin: 12px 0;
 }
 /* Responsive Design */
 @media (max-width: 1420px) {
     #contactMe {
          width: 45%;
      }
}

 @media (max-width: 992px) {
     #contactMe {
          width: 50%;
      }
     .hero-content {
         flex-direction: column;
     }
     
     .hero-image {
         display: none;
     }
     
     .profile-image {
         margin-top: 20px;
     }
     
     .about-section {
         grid-template-columns: 1fr;
     }
 }
 
 @media (max-width: 768px) {
     #contactMe {
          width: 100%;
      }
     .sidebar {
         width: 50px;
     }
     
     main {
         margin-right: 50px;
     }
     
     .hero-text h1 {
         font-size: 2rem;
     }
     
     .hero-info {
         flex-direction: column;
         gap: 10px;
     }
     
     .contact-info {
         display: none;
     }
 }
 
 @media (max-width: 576px) {
     .search-container {
         justify-content: center;
     }
     
     .hero-section {
         padding: 20px;
     }
     
     .bottom-nav {
         flex-direction: column;
         gap: 15px;
     }
 }