* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'IranSans';
  src: url('../fonts/IRANSansX-Medium.woff2') format('woff2'),
       url('../fonts/IRANSansX-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'IranSans', sans-serif;
    background-color: #ffff;
}

a, ::placeholder {
    text-decoration: none;
    font-family: 'IranSans';
}

/* CSS Variables for Dark Mode */
:root {
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
  }
  
  .theme-toggle-container {
    position: relative;
    margin: 0 10px;
  }
  
  .theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all var(--transition-medium);
  }
  
  .toggle-track {
    width: 60px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    position: relative;
    transition: all var(--transition-medium);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  [data-theme="dark"] .toggle-track {
    background: #3b82f6;
  }
  
  .toggle-thumb {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  
  [data-theme="dark"] .toggle-thumb {
    transform: translateX(30px);
  }
  
  .sun-icon,
  .moon-icon {
    width: 16px;
    height: 16px;
    transition: all var(--transition-medium);
    position: absolute;
  }
  
  .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
    color: #fbbf24;
  }
  
  .moon-icon {
    opacity: 0;
    transform: rotate(180deg);
    color: #3b82f6;
  }
  
  [data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
  }
  
  [data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
  }
  
  [data-theme="dark"] body {
    background-color: #0f172a;
    color: #f1f5f9;
  }

  [data-theme="dark"] .container-about {
    background: #1e293b;
  }
  
  [data-theme="dark"] .project-section {
    background: #0f172a;
    color: #f1f5f9;
  }
  
  [data-theme="dark"] .animated-project-title {
    color: #f1f5f9;
  }
  
  [data-theme="dark"] .nav-links .nav-item {
    background: rgb(212 228 255);
    border-color: rgb(255 255 255 / 0%);
  }
  
  [data-theme="dark"] .nav-links a {
    color: #000000;
  }
  
  [data-theme="dark"] header {
    border-color: rgba(255, 255, 255, 0.1);
  }

  [data-theme="dark"] .background-text h1 {
    color: #ffffff0f;
  }
  
  [data-theme="dark"] footer {
    background: #1e293b;
  }

  [data-theme="dark"] .form-input {
    border: 2px solid #596d74;
  }
  [data-theme="dark"] .form-textarea {
    border: 2px solid #596d74;
  }

  [data-theme="dark"] .project-image .phone-wrapper::before {
    background-color: #000000;
    color: #ffffff;
    box-shadow: 3px 1px 4px #f7f7f738;
    border: 1px solid #efefef4a;
  }

  [data-theme="dark"] .blog-section {
    background: #0f172a;
  }

  [data-theme="dark"] .blog-main-title {
    background: linear-gradient(135deg, #1e293b 0%, #ffffff 100%);
    background-clip: text;
  }

  .animated-img {
    animation: floatAnimation 6s ease-in-out infinite, blur-animation 1s forwards;
  }

  @keyframes blur-animation {
      0% {
          filter: blur(0);
      }
      85% {
          filter: blur(3px);
      }
      100% {
          filter: blur(0);
      }
  }

  @keyframes floatAnimation {
      0%,
      100% {
          transform: translateY(0px);
      }
      50% {
          transform: translateY(-20px);
      }
  }
  
  .background-text h1 {
    animation: fadeInText 2s ease 1.1s forwards, backgroundPulse 4s ease-in-out infinite 3s;
  }
  
  @keyframes backgroundPulse {
    0%,
    100% {
      opacity: 0.1;
    }
    50% {
      opacity: 0.15;
    }
  }
  
  /* Scroll Animations */
  .animated-about-scroll,
  .animated-project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }
  
  .animated-about-scroll.visible,
  .animated-project-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .animated-project-card:nth-child(2).visible {
    transition-delay: 0.2s;
  }
  
  .animated-project-card:nth-child(3).visible {
    transition-delay: 0.4s;
  }

/******* Header Styling *******/
header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 0;
    max-width: 800px;
    opacity: 0;
    backdrop-filter: blur(10px);
    border: 2px solid #ffffff3d;
    background-color: rgba(14, 14, 14, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
    animation: slideDown 1s ease forwards, expandHorizontally 1s 0.5s ease forwards;
    z-index: 999;
}

.nav-links, .logo, .hamburger {
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}

header.show-content .nav-links,
header.show-content .logo,
header.show-content .hamburger {
    opacity: 1 !important;
}

/* Slide Down Animation */
@keyframes slideDown {
    0% {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 50%);
        opacity: 1;
    }
}

/* Expand Horizontally Animation */
@keyframes expandHorizontally {
    0% {
        width: 0;
    }
    100% {
        width: 90%;
    }
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/******* Nav Styling *******/
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 10px;
}

header .logo {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    padding: 5px;
    border-radius: 6px;
    font-size: 12px;
}

.nav-links .nav-item {
    background: #ffffff;
    border: 2px solid #f7f7f7;
    border-radius: 5px;
    padding: 2px;
    padding-right: 11px;
    display: flex;
    position: relative;
}

.nav-links .active {
    position: relative;
}

.nav-links .active::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 6px;
    border-radius: 20px;
    background-color: #000000;
    bottom: -5px;
    left: 53%;
    transform: translateX(-50%);
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 35px;
    }
}

.nav-links .nav-icon {
    height: 15px;
    position: relative;
    top: 6px;
    left: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 32px;
    height: 4px;
    background-color: #ffffff;
    border: 1px solid #616161;
    border-radius: 20px;
    margin: 2.4px 0;
    transition: 0.4s;
}

.center-image {
    animation: fadeInCenterImage 1s;
    text-align: center;
    z-index: 2;
    position: relative;
    bottom: 150px;
}

@keyframes fadeInCenterImage {
    0% {
        opacity: 0;
        transform: translateY(250px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/******* Banner Styling *******/
.banner {
    width: 100%;
    position: relative;
    bottom: -250px;
}

.animated-img {
    width: 400px;
    height: auto;
    opacity: 1;
}

@keyframes fadeInCenterImage {
    0% {
        opacity: 0;
        transform: translateY(250px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-text {
    position: relative;
    top: 80px;
}

.background-text h1 {
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    font-size: 6rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: transparent;
    background: linear-gradient(to bottom, black, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    animation: fadeInText 2s ease 1.1s forwards;
    z-index: 1;
    word-spacing: 150px;
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/******** AboutUs Styling *******/
.container-about {
    margin-top: 59px;
    position: relative;
    background: #000000;
    z-index: 99;
    overflow: hidden;
}

.animated-about-scroll {
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.animated-about-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.sec-about {
    max-width: 1070px;
    margin: 0 auto;
    padding: 65px 0px 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.image-user-about img {
    height: 365px;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 5;
    position: relative;
}

.image-user-about.animate img {
    opacity: 1;
    animation: fadeInImageAbout 2s ease;
    box-shadow: 4px 2px 130px #7e4f219e;
}

@keyframes fadeInImageAbout {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.introduction-about {
    margin-right: 80px;
}

.introduction-descreption h2.animate {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInAboutH2Left 1s ease forwards !important;
}

@keyframes slideInAboutH2Left {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.introduction-descreption p.animate {
    color: #e3eaff;
    margin: 25px 20px 60px;
    padding-right: 15px;
    border-right: 4px solid #00a9de;
    animation: slideInAboutPRight 3s ease forwards !important;
}

@keyframes slideInAboutPRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
        overflow: hidden;
        z-index: -5;
        position: relative;
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
        overflow: hidden;
    }
}

.introduction-btn button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    border: 0;
    border-radius: 5px;
    color: #ffff;
    font-family: 'IranSans';
    cursor: pointer;
}

.int-btn-telegram a { color: #000 } 
.int-btn-insta a { color: #ffffff; }

.introduction-btn .int-btn-insta {
    background: #ff5a5a;
    box-shadow: 0px 0px 15px #ff0000a3;
}

.introduction-btn .int-btn-telegram {
    background: #6fc3ff;
    color: #000;
    box-shadow: 0px 0px 15px #00d0ffa3;
}

.int-btn-telegram:hover {
  box-shadow: 0px 0px 17px #6fc3ff;
}

.int-btn-insta:hover {
  box-shadow: 0px 0px 17px #ff5a5a;
}

/******** Projects Styling *******/
.project-section {
    padding: 60px 20px;
    text-align: center;
}

.project-container {
    display: flex;
    gap: 20px;
    margin-top: 120px;
    justify-content: center;
    flex-wrap: wrap;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .animated-project-title {
    margin-right: 10px;
    font-size: 24px;
    color: #333;
  }
  
  .circle {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #02cb02;
    overflow: visible;
  }
  
  .circle::before,
  .circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(85, 220, 85, 0.791);
    transform: translate(-50%, -50%);
    animation: ripple 3s infinite ease-out;
    opacity: 0;
  }
  
  .circle::after {
    animation-delay: 1.5s;
  }
  
  @keyframes ripple {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.7;
    }
    100% {
      transform: translate(-50%, -50%) scale(10);
      opacity: 0;
    }
  }
  
.project-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0px 40px 0px;
    /*border-bottom: 2px solid #f1f1f1;
    box-shadow: -16px -20px 4px rgb(249 249 249);*/
    flex-direction: column;
    flex-wrap: wrap;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.project-card.rotate {
    animation: rotateCard 1.5s ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes rotateCard {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.project-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*border-bottom: 4px solid #000000;
    border-left: 1px solid #454545;
    border-right: 1px solid #454545;
    border-radius: 12px;*/
}

/*.project-image::before {
    content: "";
    background-color: #0000002e;
    border-top: 35px solid #e5e5e5;
    border-bottom: 35px solid #e5e5e5;
    position: absolute;
    width: 320px;
    margin: 5px 0px 0px;
    border-radius: 15px;
    height: 100px;
    z-index: -1;

    content: "";
    border-top: 35px solid #ffffff47;
    border-bottom: 35px solid #ffffff47;
    position: absolute;
    width: 290px;
    border-radius: 10px;
    height: 160px;
}*/

.phone-wrapper a {
    display: flex;
    position: relative;
    align-items: center;
}

.phone-wrapper a > .text-link-sample {
    font-size: 15px;
    color: #000;
}

.project-content {
    position: absolute;
    top: -35px;
    right: 5px;
}

.project-content button {
    background: #000;
    border: 0;
    color: #fff;
    padding: 13px 40px 13px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 10px;
    font-family: 'IranSans';
}

.main-project-image {
    width: 300px;
    height: 300px;
}

.new-video::before {
    content: "جدید";
    position: absolute;
    background: red;
    width: 30px;
    height: 20px;
    top: 23px;
    font-size: 14px;
    right: 12px;
    padding: 4px 10px 6px 14px;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px #ff0000;
}

.icon-responsive-sample {
    position: absolute;
    left: 5px;
    margin-top: -10px;
    width: 170px;
    display: flex;
    background: #ffffff;
    border: 1px solid #000000;
    top: -25px;
    border-radius: 10px;
    z-index: 1;
    justify-content: space-around;
    transition: 0.5s;
}

.icon-responsive-sample:hover, .project-content button:hover {
    transition: 0.3s;
    box-shadow: 0px 0px 5px #5d5d5d;
}

.project-image .phone-wrapper::before {
    content: "ویدیو را تماشا کنید";
    position: absolute;
    background-color: #00000030;
    color: #000000;
    box-shadow: 3px 1px 4px #f7f7f7;
    border: 1px solid #efefef;
    margin: -65px 50px 0px;
    font-size: 14px;
    border-radius: 15px 15px 4px 15px;
    padding: 7px 10px 5px;
    width: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.project-image .phone-wrapper:hover::before {
    opacity: 1;
    visibility: visible;
}

.project-image .monitor-image {
    height: 35px;
    width: 28px;
}

.project-image .phone-image {
    height: 35px;
    position: relative;
    right: -15px;
    top: 5px;
}

.project-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.preview-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.preview-btn:hover {
    background-color: #0056b3;
}

/******** Contact  Styling *******/
footer {
    color: white;
    background: #000;
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 4rem;
}

/* Left Column Styles */
.contact-info {
    flex: 1;
}

.contact-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.image-credit {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

/* Contact Item Styles */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    background-color: #54a6f5;
    border-radius: 50%;
}

.contact-subheading {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #ccc;
    line-height: 1.5;
}

.contact-text a {
  color: #fff;
}

/* Right Column - Form Styles */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-input,
.form-textarea {
    padding: 0.8rem;
    background: transparent;
    border-radius: 4px;
    border: 2px solid #292e30;
    color: white;
    flex: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #ccc;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.full-width {
    width: 100%;
}

.submit-button {
    background-color: #2c4256;
    color: white;
    border-radius: 10px;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0055ff;
}

.footer-end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 4rem 30px;
}

.footer-end .link-me {
    /*background: #f9c23c;*/
    background: #006dd7;
    color: #ffffff;
    padding: 1px 6px 1px;
    border-radius: 2px;
}

.footer-end .link-page {
    color: #7bc1ff;
    font-weight: 500;
    margin-right: 8px;
}

.footer-end .copyright p {
    border-right: 1px solid #4e4e4e;
    padding-right: 10px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
  }
  
  .chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatAnimation 6s ease-in-out infinite;
  }
  
  .chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  }
  
  .chat-icon,
  .close-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: all var(--transition-medium);
    position: absolute;
  }
  
  .close-icon {
    opacity: 0;
    transform: rotate(180deg);
  }
  
  .chat-toggle.active .chat-icon {
    opacity: 0;
    transform: rotate(-180deg);
  }
  
  .chat-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
  }
  
  /* Chat Modal */
  .chat-modal {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
  }
  
  [data-theme="dark"] .chat-modal {
    background: #1e293b;
    border-color: #334155;
  }
  
  .chat-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  
  .chat-header {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chat-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
  }
  
  .chat-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .chat-status::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.5;
      transform: scale(1.2);
    }
  }
  
  .chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    margin-left: auto;
  }
  
  .chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8fafc;
  }
  
  [data-theme="dark"] .chat-messages {
    background: #0f172a;
  }
  
  .message {
    margin-bottom: 1rem;
    animation: messageSlide 0.3s ease-out;
  }
  
  @keyframes messageSlide {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .admin-message .message-content {
    background: white;
    color: #1e293b;
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 18px 4px;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
  }
  
  [data-theme="dark"] .admin-message .message-content {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
  }
  
  .user-message {
    text-align: right;
  }
  
  .user-message .message-content {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 4px 18px;
    max-width: 80%;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-align: right;
  }
  
  .admin-message .message-time {
    text-align: left;
  }
  
  .chat-input-form {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
  }
  
  [data-theme="dark"] .chat-input-form {
    background: #1e293b;
    border-color: #334155;
  }
  
  .chat-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
  }
  
  .chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.95rem;
    transition: all var(--transition-medium);
  }
  
  [data-theme="dark"] .chat-input {
    background: #0f172a;
    color: #f1f5f9;
    border-color: #334155;
  }
  
  .chat-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  .chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
  }
  
  .chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .chat-send svg {
    width: 18px;
    height: 18px;
    color: white;
  }
  
  /* Typing Indicator */
  .typing-dots {
    display: flex;
    gap: 4px;
    padding: 8px 0;
  }
  
  .typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    animation: typingBounce 1.4s infinite ease-in-out;
  }
  
  .typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
  }
  .typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
  }
  
  @keyframes typingBounce {
    0%,
    80%,
    100% {
      transform: scale(0.8);
      opacity: 0.5;
    }
    40% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  /* Accessibility */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* Responsive for Chat Widget */
  @media (max-width: 768px) {
    .chat-modal {
      right: 1rem;
      left: 1rem;
      width: auto;
    }
  
    .chat-widget {
      bottom: 1rem;
      right: 1rem;
    }

    header .logo {
      flex-direction: row-reverse;
    }
  }
  
  /* Enhanced Project Cards Hover */
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  /* Smooth Transitions */
  * {
    transition: background-color var(--transition-medium), color var(--transition-medium), border-color
      var(--transition-medium);
  }  

/* Responsive for mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    header {
        transition: height 0.3s ease;
        max-width: 800px !important;
    }
    
    header.expanded {
        height: 120px;
        top: -24px !important;
        transition: none !important;
    }

    .animated-img {
        width: 300px;
        position: relative;
        left: 10px;
    }

    .image-user-about img {
        height: 290px;
    }

    .nav-links .nav-item {
        background: #ffffff;
        border-radius: 15px;
        padding: 5px;
        display: flex;
        position: relative;
    }
    
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 98%;
        gap: 0px;
        justify-content: center;
        padding: 1rem 0;
    }

    .nav-links.expanded {
        display: flex;
      }

    .nav-item {
        margin: 0 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /*** About Me ***/
    .introduction-about {
        margin: 0px 60px 0px;
        text-align: center;
    }

    .sec-about {
        flex-wrap: wrap;
    }

    .introduction-descreption p.animate {
        margin: 30px 0px 35px;
        padding: 0px 10px 30px;
        border-bottom: 4px solid #00a9de;
        border-right: none;
    }

    .introduction-descreption h2.animate {
        margin-top: 20px;
    }

    .contact-section {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-end {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-end .copyright p {
      border-right: 0;
    }
}
    
    @media (max-width: 480px) {
        .main-project-image {
            height: 240px;
        }
        
        .icon-responsive-sample {
            width: 113px;
            padding: 9px;
            top: -24px;
        }
        
        .project-image .phone-image {
            display: none;
        }
        
        .project-container {
            gap: 60px;
        }
}
