/* Base styles */
:root {
    --primary-color: #f5f7fc; /* todo-blue */
    --primary-hover: rgba(37, 99, 235, 0.9);
    --background-color: rgb(16, 87, 80);
    --secondary-bg: rgb(16, 87, 80);
    --text-color: #111827;
    --text-secondary: #111827;
    --border-color: #e5e7eb;
    --radius: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1200px;

    /* chat widget */
    --chat--color-primary: #e74266;
	--chat--color-primary-shade-50: #db4061;
	--chat--color-primary-shade-100: #cf3c5c;
	--chat--color-secondary: #20b69e;
	--chat--color-secondary-shade-50: #1ca08a;
	--chat--color-white: #ffffff;
	--chat--color-light: #f2f4f8;
	--chat--color-light-shade-50: #e6e9f1;
	--chat--color-light-shade-100: #c2c5cc;
	--chat--color-medium: #d2d4d9;
	--chat--color-dark: rgb(16, 87, 80);
	--chat--color-disabled: #777980;
	--chat--color-typing: #404040;
  }

  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: arial;
    line-height: 1.5;
    color: var(--text-color);
    background-color: rgba(15, 87, 243, 0.1);
  }
  
  a {
    text-decoration: none;
    color: white;
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .title-line {
    height: 4px;
    width: 5rem;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem;
  }
  
  .section-description {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--text-secondary);
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    gap: 0.5rem;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
  }
  
  /* Style button elements with btn class */
  button.btn {
    border: none;
  }
  
  .btn-primary {
    background-color: rgb(16, 87, 80);
    
    color: white;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    transition: 1s;
  }
  
  .btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-full {
    width: 100%;
  }
  
  /* Navbar */
nav{
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 65px;
  background-color: rgb(16, 87, 80);
  backdrop-filter: blur(8px);
  /* border-bottom: 1px solid var(--border-color); */
}
.logo{
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

lable .logo {
  font-weight: 700;
  font-size: 1.125rem;
  padding: 20px 100px;
  
  
}


nav ul{
  float: right;
  /* margin-left: 20px; */
}

nav ul li{
  display: inline-block;
  margin-left: 20px;
  box-shadow: 8px 8px 4px #041f0f;
}

nav ul li a{
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.4s ease;
}

nav ul li a:hover {
  text-decoration: underline #fff;
  transition: 2s;
}

.checkbtn{
  font-size: 30px;
  color: white;
  line-height: 80px;
  float: right;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}

/* Mobile menu base styles */
@media (max-width: 952px){
  label.logo{
      font-size: 20px;
      padding-left: 50px;
      
  }
  nav ul li a{
      font-size: 16px;
  }
  .checkbtn{
      display: block;
      left: 30%;
      /* float: left; */
  }
  nav ul{
      position: absolute;
      background: rgb(16, 87, 80);
      width: 40%;
      height: 100vh;
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all 0.5s ease;
  }
  nav ul li{
      display: block;
      margin: 50px 0;
      line-height: 30px;
      box-shadow: 0px 0px 0px #041f0f;
      
  }
  nav ul li a{
      font-size: 20px;
  }
  #check:checked ~ ul{
      left: 0;
  }
}
  
  /* Hero Section */
  .hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 65px;
    /* added a background-image */
    background-image: url('images/background.jpg'); 
    background-size: cover; 
    background-repeat: no-repeat;
    height: 100%;
   
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
    padding: 4rem 0;
  }
  
  .hero-text {
    max-width: 36rem;
  }
  
  .subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .description {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .profile-image {
    width: 16rem;
    height: 16rem;
    background-color: rgba(15, 87, 243, 0.1);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate3d 4s infinite linear;
  }

  @keyframes rotate3d {
    0% {
      transform: rotate3d(1, 1, 1, 0deg);
    }
    100% {
      transform: rotate3d(1, 0, 1, 360deg);
    }
  }
  
  .profile-placeholder {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* About Section */
  .about {
    padding: 5rem 0;
    background-color: var(--background-color);
  }
  
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  
  .about-image {
    /* width: 151.017px; height: 188.771px; transform: translate(-3.74792px, -9.20909px) rotate(0deg); */
    width: 100%;
    max-width: 25rem;
  }
  
  .image-placeholder {
    width: 100%;
    height: 20rem;
    max-width: 300px;
    background-color: #e5e7eb;
    border-radius: 50%;
    color: var(--text-secondary);
    box-shadow: var(--shadow);
  }
  
  .about-text {
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-title {
    font-size: 1.5rem;
    font-weight: 600;
  }
  #para{
    margin: 36px;
    font-size: 16px;
    font-weight: bold;
    font-family: gothic;
  }
  
  .about-description {
    color: black;
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */

    /* added a new image */
    background-image: url('images/about.jpg');
    height: auto;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    align-items: center;
    border-radius: 5px;
    padding: 4px;
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9); /* Adjust the blur strength */

  }


  /* Services Section */
  .services {
    padding: 5rem 0;
    background-color: var(--secondary-bg);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
  }
  
  .service-card:hover {
    box-shadow: var(--shadow-lg);
  }
  
  .service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .service-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  
  .service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .service-description {
    color: var(--text-secondary);
  }
  
  /* Projects Section */
  .projects {
    padding: 5rem 0;
    background-color: var(--background-color);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
  }
  
  .project-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    max-width: 320px;
    min-width: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .project-card:hover {
    transform: scale(1.05);
  }
  
  .project-image {
    margin-bottom: 1.5rem;
  }
  
  .project-image .image-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
  }
  
  /* .project-card:hover .project-title {
    color: var(--primary-color);
  } */
  
  .project-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .tag {
    background-color: var(--secondary-bg);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
  }
  
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    font-size: 0.875rem;
  }
  
  .project-link:hover {
    text-decoration: underline;
  }
  
  /* Tools Section */
  .tools {
    padding: 5rem 0;
    background-color: var(--secondary-bg);
  }
  
  .tools-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .tool-icon {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 1.25rem;
  }
  
  .tool-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 5rem 0;
    background-color: var(--background-color);
  }
  
  .testimonials-slider {
    max-width: 36rem;
    margin: 0 auto;
    position: relative;
  }
  
  .testimonial-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    height: 100%;
  }
  
  .testimonial-card.active {
    display: flex;
  }
  
  .quote-icon {
    margin-bottom: 1.5rem;
    color: rgba(37, 99, 235, 0.2);
    font-size: 2rem;
  }
  
  .testimonial-text {
    flex-grow: 1;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
  }
  
  .author-name {
    font-weight: 600;
  }
  
  .author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
  }
  
  .testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
  }
  
  .prev-btn, .next-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:  rgba(15, 87, 243, 0.1);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  .testimonial-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    background-color: var(--primary-color);
  }
  
  /* Contact Section */
  .contact {
    padding: 5rem 0;
    background-color: var(--secondary-bg);
  }
  
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 60rem;
    margin: 0 auto;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
  }
  
  .contact-item:hover {
    background-color: rgba(245, 245, 245, 0.8);
  }
  
  .contact-icon {
    background-color: rgba(37, 99, 235, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .contact-icon i {
    color: var(--primary-color);
  }
  
  .contact-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
  }
  
  .contact-value {
    color: var(--text-secondary);
  }
  
  .resume-download, .social-media {
    margin-top: 2rem;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f5f5f5; */
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
  }
  
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  }
  
  /* Footer */
  .footer {
    background-color: #111827;
    color: white;
    padding: 2.5rem 0;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .footer-info {
    text-align: center;
  }
  
  .footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .footer-description {
    color: #9ca3af;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
  }
  
  .footer-copyright {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
  }
  
  .heart-icon {
    color: #ef4444;
    fill: currentColor;
    display: inline;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
  }
  
  /* Responsive styles */
  @media (min-width: 640px) {
    .service-card, .project-card {
      padding: 2rem;
    }
    
    .tools-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 768px) {
    .section-title {
      font-size: 2.5rem;
    }
    
    .navbar-menu {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    
    .navbar-toggle {
      display: none;
    }
    
    .hero-content {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    
    .btn-group {
      justify-content: flex-start;
    }
    
    .scroll-indicator {
      display: flex;
    }
    
    .about-content {
      flex-direction: row;
      align-items: flex-start;
    }
    
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
      flex-direction: row;
    }
    
    .contact-info {
      width: 40%;
      padding-right: 2rem;
    }
    
    .contact-form {
      width: 60%;
    }
    
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
    }
    
    .footer-info {
      text-align: left;
    }
  }
  
  @media (min-width: 1024px) {
    .title {
      font-size: 3.5rem;
    }
    
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .tools-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .projects-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .carousel-btn {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    font-size: 2rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 1rem;
    transition: background 0.2s, color 0.2s;
  }
  .carousel-btn:hover {
    background: var(--primary-color);
    color: #fff;
  }

  .carousel-window {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .carousel-window::-webkit-scrollbar {
    display: none;
  }

  .carousel-track {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
  }

  .project-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 320px;
    width: 320px;
  }

  @media (max-width: 1000px) {
    .carousel-window {
      max-width: 640px;
    }
    .project-card {
      flex: 0 0 300px;
      max-width: 300px;
      min-width: 300px;
      width: 300px;
    }
  }
  @media (max-width: 700px) {
    .carousel-window {
      max-width: 320px;
    }
    .project-card {
      flex: 0 0 90vw;
      max-width: 90vw;
      min-width: 90vw;
      width: 90vw;
    }
    .carousel-track {
      gap: 1rem;
    }
  }

  .project-group-title {
    text-align: left;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
  }

  .project-card.placeholder {
    opacity: 0.5;
    border: 2px dashed #aaa;
    background: #f5f7fc;
    color: #888;
  }

  @media (max-width: 900px) {
    .carousel-track {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    .projects-carousel {
      flex-direction: column;
    }
    .carousel-btn {
      margin: 1rem 0;
    }
  }
  
  @media (max-width: 600px) {
    .carousel-track {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }
  
  .modern-projects {
    background: rgb(16, 87, 80);
    padding: 2.5rem 0 1.2rem 0;
  }

  .project-group {
    margin-bottom: 2.2rem;
  }

  .project-group-title.centered {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #1a202c;
  }

  .group-underline {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  .group-underline span {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #32d296 0%, #ffd700 100%);
    border-radius: 2px;
  }

  .group-description.centered {
    text-align: center;
    margin-bottom: 1.1rem;
    font-size: 1rem;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-bottom: 0.7rem;
  }
  @media (max-width: 1000px) {
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 700px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }
  }

  .project-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1.5px 4px rgba(0,0,0,0.03);
    padding: 1.2rem 1rem 1rem 1rem;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 370px;
    height: 100%;
    position: relative;
  }
  .project-card:hover {
    box-shadow: 0 8px 32px rgba(50, 210, 150, 0.12), 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-6px) scale(1.025);
    z-index: 2;
  }

  .project-image .image-placeholder {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.7rem;
    background: #f3f4f6;
  }

  .project-title {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #111;
  }

  .project-description {
    color: #111;
    font-size: 0.97rem;
    margin-bottom: 0.7rem;
    text-align: center;
    width: 100%;
  }

  .project-tags {
    margin-bottom: 0.7rem;
  }
  .tag {
    display: inline-block;
    background: #e6f9f2;
    color: #111;
    border-radius: 0.5rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
  }

  .project-link {
    color: #111;
    font-weight: 500;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
  }
  .project-link:hover {
    color: #32d296;
    text-decoration: underline;
  }

  .fade-in {
    opacity: 0;
    animation: fadeInUp 0.7s forwards;
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
  }

  .see-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.2rem;
  }
  .see-more-btn {
    background: rgb(16, 87, 80);
    color: white;
    border: 2px solid #fff;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(50, 210, 150, 0.08);
    transition: background 0.2s, transform 0.2s, border 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .see-more-btn:hover {
    background-color: var(--primary-hover);
    color: white;
  }

  .extra-project {
    display: none;
  }
  
/* Marquee Effect for Projects */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 2rem 0;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Project cards in marquee */
.marquee-container .project-card {
  min-width: 350px;
  margin-right: 2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.marquee-container .project-card:hover {
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .marquee-container .project-card {
    min-width: 280px;
    margin-right: 1.5rem;
  }
  
  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-60%);
    }
  }
}

@media (max-width: 480px) {
  .marquee-container .project-card {
    min-width: 250px;
    margin-right: 1rem;
  }
}
  
/* Contact form status */
.form-status {
  margin-top: 12px;
  font-size: 0.95rem;
  min-height: 1.2em;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status.success {
  color: #0a7d0a;
}

.form-status.error {
  color: #b00020;
}

/* Discovery Call Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(8px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-popup {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-popup {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.15);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  font-family: Arial, sans-serif;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
  transform: rotate(90deg) scale(1.1);
}

.modal-content {
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
}

.modal-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.2));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  overflow: hidden;
  border: 3px solid rgba(37, 99, 235, 0.2);
}

.modal-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-hover);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.modal-description {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-hover), #1e40af);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
  margin-bottom: 1rem;
}

.modal-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1e40af, var(--primary-hover));
}

.modal-cta-btn:active {
  transform: translateY(-1px);
}

.modal-cta-btn svg {
  width: 20px;
  height: 20px;
}

.modal-subtext {
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 1rem;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  .modal-popup {
    width: 95%;
    padding: 0;
  }

  .modal-content {
    padding: 2.5rem 2rem 2rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .modal-cta-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .modal-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 2rem 1.5rem 1.5rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-description {
    font-size: 0.95rem;
  }
}