/* Phone Number */
body {
  overflow-x: hidden;
}

.phone-number {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  padding: 15px 10px;
  border-radius: 5px;
  font-size: 16px;
}

/* Typography */
.Typography {
  font-family: Arial, sans-serif;
}

.Typography--h1 {
  padding: 8rem;
  font-size: 3rem; 
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center; 
}

.Typography--blue-gray {
  color: #607d8b;
}

/* Text Container */
.text-container {
  font-family: Arial, sans-serif;
  max-width: 90%;
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 1.2rem; 
  line-height: 1.6;
  color: #607d8b; 
  padding: 10px;
}

.text-container--lead {
  font-size: 1.25rem; 
  text-align: center; 
  line-height: 1.5;
  margin-top: -7rem;
  margin-bottom: 3rem;
}

.text-container--gray {
  color: #777; 
}

/* Buttons */
.button {
  padding: 15px 20px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  margin: 10px;
  width: 200px;
  border-radius: 10px;
  text-align: center;
}

.button-1 {
  padding: 15px 20px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin-top: auto;
}

.button-2 {
  padding: 15px 20px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin-left: auto;
}

/* Layout Classes */
.center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: auto;
  margin: 20px 0;
}

.text-center {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

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

.w-full {
  width: 100%;
}

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

.font-normal {
  font-weight: 400;
}

.lg\:w-6\/12 {
  width: 50%; 
}

/* Alpha Section */
.alpha {
  padding: 60px;
  margin-left: -50px;
  text-align: center; 
  color: #374151; 
  font-weight: 350; 
  text-transform: uppercase;
  margin-bottom: -50px;
}

/* Social Icons */
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  gap: 15px; 
}

.wrapper .icon {
  border-radius: 50%;
  padding: -5px;
  margin: 15px;
  width: 50px; 
  height: 50px; 
  font-size: 24px; 
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.wrapper .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wrapper .icon.github i,
.wrapper .icon.linkedin i {
  color: black;
}

/* About Section */
.about-us {
  position: relative;
  display: flex;
  height: max-content;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 70px 15px;
}

.about {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start; 
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pic {
  height: 475px;
  width: 350px;
  border: 4px solid #fff;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}

.bg-secondary-900 {
  background-color: #1a202c;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.p-6 {
  padding: 1.25rem;
}

.shadow-soft {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.font-code {
  font-family: 'Courier New', Courier, monospace;
}

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

.overflow-hidden {
  overflow: hidden;
}

.flex {
  display: flex;
}

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

.gap-2 {
  gap: 0.5rem;
}

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

.w-3 {
  width: 0.75rem;
}

.h-3 {
  height: 0.75rem;
}

.bg-error {
  background-color: #f56565;
}

.bg-warning {
  background-color: #ecc94b;
}

.bg-success {
  background-color: #48bb78;
}

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

.text-secondary-400 {
  color: #a0aec0;
}

.ml-2 {
  margin-left: 0.5rem;
}

.text-secondary-300 {
  color: #cbd5e0;
}

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

.text-accent {
  color: #ed8936;
}

.text-success {
  color: #48bb78;
}

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

.ml-8 {
  margin-left: 2rem;
}

.about-heading {
  color: #a0aec0;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  margin-top: 0;
  text-align: center;
}

.right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

/* Project Cards */
h2.text-blue-gray {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #607d8b; 
}

p.lead {
  max-width: 90%;
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #4a4a4a;
  padding: 27px;
}

.centered-text {
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px; 
  margin: 0 auto;
  text-align: center;
}

strong {
  color: #222;
}

em {
  color: #007bff;
  font-style: normal;
  font-weight: 500;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card */
.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 300ms ease, transform 300ms ease;
  padding: 1rem;
  margin-bottom: 1rem;
}

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

.image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  background: #e5e7eb;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
}

.card:hover .image-container img {
  transform: scale(1.05);
}

.content {
  padding: 0 0 1rem;
  max-width: 280px;
  margin: 0 auto;
}

.content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
  text-align: center;
}

.content p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem; 
  text-align: justify;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem; 
  justify-content: center;
}

.tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.tag-primary {
  background: #e0e7ff;
  color: #4f46e5;
}

.tag-success {
  background: #d1fae5;
  color: #059669;
}

.tag-accent {
  background: #fef3c7;
  color: #d97706;
}

.links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.links a {
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.links a.view-details {
  color: #000000;
}

.links a.view-details:hover {
  color: #333333;
}

.links a.live-demo {
  color: #6b7280;
}

.links a.live-demo:hover {
  color: #4f46e5;
}

.links svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer */
.footer > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  margin: 0px 30px 0px 30px;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%; 
}

.text-gray-700 { 
  color: #4A5568; 
}

/* Responsive Design */
@media (max-width: 1024px) {
  .text-container {
    font-size: 1.1rem;
    width: 95%;
  }
  
  .center {
    flex-direction: column;
    text-align: center;
  }

  .button {
    width: 90%;
    max-width: 250px;
  }

  .wrapper {
    flex-direction: row;
    justify-content: center;
  }

  .pic {
    height: 350px;
    width: 300px;
  }

  .text {
    text-align: center;
    max-width: 90%;
  }

  h2.text-blue-gray {
    font-size: 1.8rem;
  }
  
  p.lead {
    font-size: 1.1rem;
    width: 95%;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .card {
    width: 100%;
    max-width: none;
  }

  .about-us {
    padding: 40px 15px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .pic {
    height: auto;
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
  }

  .right-section {
    align-items: center;
    width: 100%;
    max-width: 90%;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .Typography--h1 {
    padding: 6rem;
    font-size: 2.5rem;
  }

  .text-container--lead {
    margin-top: -5rem;
  }

  .alpha {
    padding: 40px;
    margin-left: 0;
    margin-bottom: -40px;
  }

  .wrapper {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .text-container {
    font-size: 1rem;
    padding: 8px;
  }

  .wrapper {
    flex-direction: row;
    gap: 10px;
  }

  .wrapper .icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .alpha {
    font-size: 16px;
    padding: 30px;
    margin-left: 0;
    margin-bottom: -30px;
  }

  .about-us {
    padding: 30px 10px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .pic {
    height: auto;
    width: 90%;
    max-width: 280px;
    margin: 15px auto;
  }

  .right-section {
    max-width: 95%;
  }

  .about-heading {
    font-size: 1.6rem;
  }

  h2.text-blue-gray {
    font-size: 1.6rem;
  }
  
  p.lead {
    font-size: 1rem;
    padding: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .image-container {
    aspect-ratio: 4 / 3;
  }

  .content {
    max-width: 90%;
  }

  .phone-number {
    top: 10px;
    right: 10px;
    font-size: 14px;
    padding: 10px;
  }

  .Typography--h1 {
    padding: 4rem;
    font-size: 2rem;
  }

  .text-container--lead {
    margin-top: -3rem;
  }
}

@media (max-width: 480px) {
  .text-container {
    font-size: 0.9rem;
    width: 98%;
  }

  .pic {
    width: 95%;
    max-width: 250px;
    margin: 10px auto;
  }

  .about-heading {
    font-size: 1.4rem;
  }

  h2.text-blue-gray {
    font-size: 1.4rem;
  }
  
  p.lead {
    font-size: 0.9rem;
    width: 98%;
    padding: 5px; 
    text-align: center;
    margin: 0.25rem 0; 
  }

  .card p.lead {
    margin: 0.25rem 0; 
    padding: 5px; 
  }

  .grid {
    gap: 0.75rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  .card {
    padding: 0.75rem;
  }

  .content h3 {
    font-size: 1.1rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  .tags {
    gap: 0.3rem;
    margin-bottom: 1.5rem;
  }

  .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .links a {
    font-size: 0.8rem;
  }
}

@media (max-width: 414px) {
  .container.mx-auto.mb-20.text-center {
    padding: 0 10px;
  }

  .grid {
    grid-template-columns: 1fr;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    gap: 0.75rem;
  }

  .card {
    width: 100%;
    max-width: 350px;
    padding: 0.75rem;
  }

  .image-container {
    aspect-ratio: 4 / 3;
  }

  .content h3 {
    font-size: 1rem;
  }

  .content p {
    font-size: 0.85rem;
  }

  p.lead {
    font-size: 0.85rem;
    width: 98%;
    padding: 4px; 
    text-align: center;
    margin: 0.2rem 0; 
  }

  .card p.lead {
    margin: 0.2rem 0; 
    padding: 4px;
  }
}

@media (max-width: 375px) {
  .pic {
    width: 100%;
    max-width: 220px;
  }

  .about-heading {
    font-size: 1.2rem;
  }

  .right-section {
    max-width: 100%;
    padding: 0 10px;
  }

  .Typography--h1 {
    font-size: 1.8rem;
    padding: 3rem;
  }

  .text-container--lead {
    margin-top: -2rem;
  }

  .grid {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
  }

  .card {
    padding: 0.5rem;
  }

  p.lead {
    font-size: 0.85rem;
    width: 98%;
    padding: 3px; 
    text-align: center;
    margin: 0.15rem 0; 
  }

  .card p.lead {
    margin: 0.15rem 0; 
    padding: 3px;
  }
}

@media (min-width: 1024px) {
  .phone-number {
    top: 20px;
    right: 20px;
    font-size: 16px;
    padding: 15px 10px;
  }

  .Typography--h1 {
    padding: 8rem;
    font-size: 3rem;
  }

  .text-container--lead {
    margin-top: -7rem;
  }

  .center {
    height: 5vh;
  }

  .button {
    margin-right: 50px;
    margin-bottom: 0;
  }

  .alpha {
    padding: 60px;
    margin-left: -50px;
    margin-bottom: -50px;
  }

  .wrapper {
    margin-left: -40px;
  }

  .about {
    flex-direction: row;
    align-items: flex-start;
    gap: 125px;
    flex-wrap: nowrap;
  }

  .pic {
    height: 475px;
    width: 350px;
    margin: 0;
  }

  .right-section {
    width: auto;
    max-width: 500px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-left: 4cm;
    margin-right: 2cm;
  }

  .card {
    width: 300px;
  }
}