.elementor-822 .elementor-element.elementor-element-aecf068{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-822 .elementor-element.elementor-element-4f1266c{--spacer-size:72px;}.elementor-822 .elementor-element.elementor-element-26f6b6b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:8px;--margin-bottom:8px;--margin-left:8px;--margin-right:8px;}.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper path{stroke:var( --e-global-color-accent );}.elementor-widget-animated-headline .elementor-headline-plain-text{color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline{--dynamic-text-color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline-dynamic-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-822 .elementor-element.elementor-element-9164886{--iteration-count:infinite;--animation-duration:1200ms;}.elementor-822 .elementor-element.elementor-element-9164886 .elementor-headline{text-align:center;}.elementor-822 .elementor-element.elementor-element-074880a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-gallery .elementor-gallery-item__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-gallery .elementor-gallery-item__description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-gallery{--galleries-title-color-normal:var( --e-global-color-primary );--galleries-title-color-hover:var( --e-global-color-secondary );--galleries-pointer-bg-color-hover:var( --e-global-color-accent );--gallery-title-color-active:var( --e-global-color-secondary );--galleries-pointer-bg-color-active:var( --e-global-color-accent );}.elementor-widget-gallery .elementor-gallery-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-822 .elementor-element.elementor-element-a1f8a1c{--image-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-822 .elementor-element.elementor-element-4f1266c{--spacer-size:41px;}}/* Start custom CSS for html, class: .elementor-element-1410219 */@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Montserrat:wght@700&display=swap');

/* GLOBAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: 'Cardo', serif;
  color: #f0e9e1;
  overflow-x: hidden; /* Prevent horizontal scroll from 100vw */
}

/* --- MAIN PROJECTS SECTION STYLES --- */
.my-projects-section {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;

  /* --- FULL WIDTH BUT NO OVERFLOW --- */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  /* Animated Background applied DIRECTLY to this section */
  background: linear-gradient(135deg, #2b3b55, #1f2a3e, #3a7bd5, #00d2ff);
  background-size: 400% 400%;
  animation: myGradientShift 15s ease infinite;
  border-radius: 0; /* Remove overflow color bleed */
}

/* Keyframes for the unique background animation */
@keyframes myGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- TITLE STYLES --- */
.my-projects-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 2rem;
  text-shadow: 0 0 7px rgba(0, 210, 255, 0.7), 0 0 12px rgba(58, 123, 213, 0.5);
  text-align: center;
  z-index: 2;
}

/* Title underline animation */
.my-projects-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  border-radius: 2px;
  animation: myTitleSlideIn 1.5s ease forwards;
}

/* Keyframes for underline animation */
@keyframes myTitleSlideIn {
  0% { width: 0; opacity: 0; }
  100% { width: 3rem; opacity: 1; }
}

/* --- GRID CONTAINER: 3 PER ROW ON PC --- */
.my-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 2.5rem 2rem;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  box-sizing: border-box;
  z-index: 1;
  margin: 0 auto;
}

/* --- PROJECT CARD STYLES --- */
.my-project-card {
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.my-project-card:hover {
  box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4), 0 5px 10px rgba(58, 123, 213, 0.3);
  transform: translateY(-5px);
}
.my-project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.my-project-card:hover img {
  transform: scale(1.08);
}
.my-project-card .my-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 123, 213, 0.4), rgba(0, 210, 255, 0.4));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.my-project-card:hover .my-overlay-bg {
  opacity: 1;
}
.my-project-card-title {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a2e;
  background: #fff;
  user-select: none;
  border-top: 1px solid #eee;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .my-grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 768px) {
  .my-projects-section {
    padding: 3rem 1rem;
  }
  .my-projects-title {
    font-size: clamp(1rem, 5vw, 1.75rem);
    margin-bottom: 1.5rem;
  }
  .my-projects-title::after {
    bottom: -0.375rem;
    width: 2.5rem;
    height: 1.5px;
  }
  .my-grid-container {
    gap: 1.5rem;
  }
  .my-project-card img {
    height: 180px;
  }
  .my-project-card-title {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .my-projects-section {
    padding: 2rem 0.75rem;
  }
  .my-projects-title {
    font-size: clamp(0.9rem, 6vw, 1.5rem);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
  }
  .my-projects-title::after {
    bottom: -0.25rem;
    width: 2rem;
    height: 1.5px;
  }
  .my-grid-container {
    grid-template-columns: 1fr; /* 1 per row on mobile */
    gap: 1.25rem;
  }
  .my-project-card img {
    height: 200px;
  }
  .my-project-card-title {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}/* End custom CSS */
/* Start custom CSS for gallery, class: .elementor-element-a1f8a1c */.elementor-lightbox .elementor-lightbox-title {
    display: none !important;
}/* End custom CSS */