/* Base styles */
:root {
  --dark: #0a0a0a;
  --dark-alt: #0f0f0f;
  --dark-lighter: #1a1a1a;
  --dark-border: #2a2a2a;
  --dark-hover: #2a2a2a;
  --teal: #4fd1c5;
  --blue: #4299e1;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark);
  color: var(--gray-200);
  line-height: 1.5;
}

/* Utility classes */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-white {
  color: white;
}

.text-teal {
  color: var(--teal);
}

.text-blue {
  color: var(--blue);
}

.text-gray-300 {
  color: var(--gray-300);
}

.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.bg-dark {
  background-color: var(--dark);
}

.bg-dark-alt {
  background-color: var(--dark-alt);
}

.bg-dark-lighter {
  background-color: var(--dark-lighter);
}

.bg-dark-transparent {
  background-color: rgba(10, 10, 10, 0.8);
}

.bg-teal-bg {
  background-color: rgba(79, 209, 197, 0.1);
}

.bg-teal-glow {
  background-color: rgba(79, 209, 197, 0.05);
}

.bg-blue-glow {
  background-color: rgba(66, 153, 225, 0.05);
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-dark-border {
  border-color: var(--dark-border);
}

.border-dark-lighter {
  border-color: var(--dark-lighter);
}

.border-teal-border {
  border-color: rgba(79, 209, 197, 0.2);
}

.border-blue-border {
  border-color: rgba(66, 153, 225, 0.2);
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
  /* width: 300px; */
  display: inline-block;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.w-1 {
  width: 0.25rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-24 {
  width: 6rem;
}

.w-64 {
  width: 16rem;
}

.w-full {
  width: 100%;
}

.h-1 {
  height: 0.25rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-24 {
  height: 6rem;
}

.h-64 {
  height: 16rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-8 {
  bottom: 2rem;
}

.top-1\/4 {
  top: 25%;
}

.left-1\/4 {
  left: 25%;
}

.bottom-1\/4 {
  bottom: 25%;
}

.right-1\/4 {
  right: 25%;
}

.left-1\/2 {
  left: 50%;
}

.-top-4 {
  top: -1rem;
}

.-left-4 {
  left: -1rem;
}

.-bottom-4 {
  bottom: -1rem;
}

.-right-4 {
  right: -1rem;
}

.transform {
  transform: translateX(-50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.blur-100 {
  filter: blur(100px);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.object-cover {
  object-fit: cover;
}

.overflow-hidden {
  overflow: hidden;
}

.hidden {
  display: none;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.imageleft img,.imageright img {
  height: 290px; 
  width: 325px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:text-white:hover {
  color: white;
}

.hover\:text-teal:hover {
  color: var(--teal);
}

.hover\:bg-dark-hover:hover {
  background-color: var(--dark-hover);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hover\:border-teal-500\/30:hover {
  border-color: rgba(79, 209, 197, 0.3);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:text-teal {
  color: var(--teal);
}

.opacity-0 {
  opacity: 0;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Custom components */
.gradient-text {
  background: linear-gradient(to right, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-bg {
  background: linear-gradient(to right, var(--teal), var(--blue));
}

.primary-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, var(--teal), var(--blue));
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.primary-button:hover {
  background: linear-gradient(to right, #3db9ae, #3a87c5);
  box-shadow: 0 10px 15px -3px rgba(79, 209, 197, 0.1), 0 4px 6px -2px rgba(79, 209, 197, 0.05);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--dark-lighter);
  border: 1px solid var(--dark-border);
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}

.secondary-button:hover {
  background-color: var(--dark-hover);
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: var(--dark-lighter);
  border: 1px solid var(--dark-border);
  color: var(--gray-400);
  transition: all 0.3s;
}

.social-button:hover {
  color: white;
  border-color: rgba(79, 209, 197, 0.5);
}

.nav-link {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: white;
}

.nav-link.active {
  color: var(--teal);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--blue));
}

.section-header {
  text-align: center;
}

.skill-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--dark-lighter);
  border: 1px solid var(--dark-border);
  transition: all 0.3s;
}

.skill-card:hover {
  border-color: rgba(79, 209, 197, 0.3);
}

.skill-item {
  color: var(--gray-400);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.skill-item::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--teal);
  margin-right: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--dark-lighter);
  border: 1px solid var(--dark-border);
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--dark);
  border: 1px solid var(--dark-border);
  color: white;
  outline: none;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(79, 209, 197, 0.2);
}

/* Media queries */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:text-7xl {
    font-size: 4.5rem;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}


/* Add these styles to your existing CSS file */

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: #4fd1c5; /* Teal color to match your theme */
  margin-left: 2px;
  vertical-align: middle;
}

.typing-cursor.blink {
  animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Add this if you're using Tailwind and want to add a utility class */
@layer utilities {
  .animate-blink {
    animation: cursor-blink 1s infinite;
  }
}

/* @media (max-width: 768px) {
  
} */


@media (max-width: 400px) {

  .imageleft img{
    height: 250px;
    width: 170px;
  }
  .imageright img{
    height: 250px;
    width: 140px;
  }

}