
body {
        font-family: 'Inter', sans-serif;
        background-color: #121212;
        color: #E0E0E0;
    }
    
    .section-title {
        position: relative;
        display: inline-block;
        font-family: 'Montserrat', sans-serif;
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        height: 3px;
        width: 40%;
        background-color: #E63946;
    }
    
    .skill-item {
        transition: all 0.3s ease;
    }
    
    .skill-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }
    
    .social-icon {
        transition: all 0.3s ease;
    }
    
    .social-icon:hover {
        color: #E63946;
        transform: translateY(-3px);
    }
    
    .nav-link {
        position: relative;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #E63946;
        transition: width 0.3s ease;
    }

      .mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
    
    .nav-link:hover::after {
        width: 100%;
    }

    
    
    .btn-primary {
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(230, 57, 70, 0.4);
    }

    #menu-toggle {
  font-size: 1.75rem;     /* make the icon bigger */
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #eee;            /* light color */
}

#menu-toggle:hover {
  color: #E63946;         /* primary red on hover */
  transform: scale(1.1);
}

#menu-toggle i {
  pointer-events: none;   /* avoid double clicks on icon */
}


    /*testimonials*/

    .testimonials-section {
  background-color: #E63946;
  padding: 3rem 1.5rem 4rem;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}



.testimonials-section .section-title {
  color: white;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scroll-padding-left: 0;
}

.testimonial-item {
  scroll-snap-align: start;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  padding: 0 1rem;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  font-style: normal;
  font-size: 1rem;
  text-align: right;
}

.testimonial-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 2rem;
  pointer-events: none;
  z-index: 10;
}

.testimonial-arrow {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.25);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.testimonial-arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.testimonial-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.testimonial-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255 255 255 / 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active {
  background-color: white;
}

#testimonialCarousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* For snapping */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scrollbar-width: none; /* hide scrollbar Firefox */
}
#testimonialCarousel::-webkit-scrollbar {
  display: none; /* hide scrollbar Chrome/Safari */
}

.testimonial-item {
  flex: 0 0 100%; /* prevents shrinking/growing, width = 100% of container */
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 1rem 2rem;
}

#testimonialCarousel {
  width: 100%; /* or max-width: 600px; or whatever your layout needs */
  max-width: 600px; /* optional for limiting max size */
  margin: 0 auto; /* center if max-width used */
}

#testimonialDots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 8px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb; /* grey circle */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active {
  background-color: white; /* active dot highlight */
}

#prevArrow, #nextArrow {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0 10px;
  user-select: none;
}

#prevArrow:hover, #nextArrow:hover {
  color: #e63946; /* your red highlight */
}

#testimonialCarousel {
  align-items: center; /* vertically center if using flex */
  height: auto; /* or whatever height you want */
}

/* Hide testimonial arrows on small screens (mobile) */
@media (max-width: 767px) {
  .testimonial-arrows {
    display: none;
  }
}

@media (max-width: 767px) {
  #testimonialCarousel {
    height: auto; /* let height adjust based on content */
    padding: 1rem 0; /* optional spacing */
  }
}

.powered-link {
  color: #E63946;
  text-decoration: none;
  transition: color 0.3s ease;
}

.powered-link:hover {
  color: #ffffff;
  font-weight: bolder;
}

.powered-link:visited {
  color: #b8323b; /* darker red for visited links */
}

.form-error {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a1a1a;
  color: #ff4d4d;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.hidden {
  display: none;
}

.shake {
  animation: shake 0.5s ease-in-out 4; /* Shakes for 2s total */
}

@keyframes shake {
  0%   { transform: translate(-50%, 0); }
  25%  { transform: translate(-52%, -2px); }
  50%  { transform: translate(-48%, 2px); }
  75%  { transform: translate(-52%, -2px); }
  100% { transform: translate(-50%, 0); }
}

.testimonial-text {
  color: #ffffff; /* your greyish text */
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author h4 {
  color: #2c3e50; /* your dark blue/black */
  margin-bottom: 0.3rem;
}

.testimonial-arrow {
  background: white;
  color: #3498db; /* your brand blue */
  border: none;
  cursor: pointer;
}

.testimonial-arrow:hover {
  background: #3498db;
  color: white;
}

.testimonial-dot.active {
  background: #3498db;
}


    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

    body {
        font-family: 'Inter', sans-serif;
        background-color: #121212;
        color: #E0E0E0;
    }

    .section-title {
        position: relative;
        display: inline-block;
        font-family: 'Montserrat', sans-serif;
    }

    .section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        height: 3px;
        width: 40%;
        background-color: #E63946;
    }

    .skill-item {
        transition: all 0.3s ease;
    }

    .skill-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    .social-icon {
        transition: all 0.3s ease;
    }

    .social-icon:hover {
        color: #E63946;
        transform: translateY(-3px);
    }

    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #E63946;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .btn-primary {
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(230, 57, 70, 0.4);
    }

    .work-card {
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .work-card:hover {
        border-left: 3px solid #E63946;
        transform: translateX(5px);
    }

    /* Mobile menu styles */
.nav-link {
  position: relative;
  color: #BDBDBD; /* gray-200 */
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #E63946; /* primary */
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}



    /* Toast notification */
    .toast {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #2D2D2D;
        color: white;
        padding: 12px 24px;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .toast.show {
        opacity: 1;
    }

    /* Copy code button */
    .copy-button {
        transition: all 0.3s ease;
        border: 2px solid #E63946;
    }

    .copy-button:hover {
        background-color: #E63946;
        color: white;
    }

    button,
    input:where([type=button]),
    input:where([type=reset]),
    input:where([type=submit]) {
        appearance: button;
        -webkit-appearance: button;
        background-color: transparent;
        background-image: none;
    }

    [type="search"] {
        appearance: textfield;
        -webkit-appearance: textfield;
        outline-offset: -2px;
    }

    ::-webkit-search-decoration {
        appearance: none;
        -webkit-appearance: none;
    }

    ::-webkit-file-upload-button {
        appearance: button;
        -webkit-appearance: button;
        font: inherit;
    }
