/* ========================= */
/* BASE STYLES */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0c0c0c;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================= */
/* HERO SECTION             */
/* ========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/main_image1.png') no-repeat center center / cover;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}


#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}
#tsparticles canvas {
  filter: brightness(1.3) contrast(1.1);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(12,12,12,0.95));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero-buttons a {
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(30,144,255,0.3);
}

.btn-primary {
  background-color: #1e90ff;
  color: #fff;
}
.btn-primary:hover {
  background-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(30,144,255,0.6);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #1e90ff;
  color: #1e90ff;
}

/* ========================= */
/* RESPONSIVE TWEAKS         */
/* ========================= */

/* Disable fixed background on mobile for smoother scrolling */
@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* Scale text for small screens */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* ========================= */
/* ABOUT SECTION */
/* ========================= */
.about-section {
  margin-top: -1px;
  margin-bottom: -1px;      /* shift up/down to eliminate seams */
  background-color: white;  /* fallback for texture */
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,1)),
    url('../images/white-texture.png') no-repeat center center / cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
  color: #000;
}


.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Layout */
.about-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

/* Image */
.about-image {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0));
  padding: 0.5rem;
  border-radius: 1rem;
}
.about-image img {
  width: 100%;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

/* Heading & Intro */
.about-heading {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}
.about-heading span {
  color: #1e90ff;
}
.subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Body Text */
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #000;
}

/* Quote */
.quote {
  margin-top: 2rem;
  font-style: italic;
  font-weight: 500;
  color: #555;
}

/* Call-to-Action Button */
.about-cta {
  margin-top: 2.5rem;       /* space above button */
  text-align: center;       /* center under text block */
}
.about-cta .btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  background-color: #1e90ff;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(30,144,255,0.3);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.about-cta .btn-primary:hover {
  background-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(30,144,255,0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image img {
    max-width: 400px;
    margin: 0 auto;
  }
}





/* ========================= */
/* Services SECTION */
/* ========================= */
.divider-between-services-and-portfolio {
  margin-top: 120px;
}

.services-section {
  padding: 100px 20px;
  background-size: cover;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.services-section .blue-text {
  color: #1e90ff;
}

.services-section .subtext {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ccc;
  margin-bottom: 50px;
}

/* === CARD CONTAINER === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* === SERVICE CARD === */
.service-card {
  width: 230px;
  height: 300px;
  perspective: 1000px;
  position: relative;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.4s ease;
  outline: none;
}
.service-card:focus {
  transform: translateY(-4px);
}
.service-card:focus .card-inner {
  transform: rotateY(180deg);
}

/* === CARD INNER + FLIP === */
.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  position: relative;
}
.service-card:hover .card-inner,
.service-card:focus-within .card-inner {
  transform: rotateY(180deg);
}

/* === FACES === */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.1),
    0 0 25px var(--glow-color, #00ffff);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  transition: box-shadow 0.5s ease;
}

/* === FRONT === */
.card-front {
  z-index: 2;
}
.card-front .service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  animation: float 4s ease-in-out infinite;
}
.card-front h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card-front .click-hint {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffecb3;
  text-shadow: 0 0 5px rgba(255,255,255,0.3);
  animation: shimmer 1.5s infinite;
}

/* === BACK === */
.card-back {
  transform: rotateY(180deg);
  padding: 25px;
  text-align: center;
  color: #eee;
  font-size: 0.95rem;
}

/* === GLOW COLORS === */
.service-card[data-title="Website Design"] {
  --glow-color: #ff7b00;
}
.service-card[data-title="Domain Support"] {
  --glow-color: #00bfff;
}
.service-card[data-title="Care Plans"] {
  --glow-color: #f84aff;
}

/* === HOVER / FOCUS GLOW === */
.service-card:hover .card-front,
.service-card:hover .card-back,
.service-card:focus .card-front,
.service-card:focus .card-back {
  box-shadow: 0 0 30px var(--glow-color);
}

/* === ANIMATIONS === */
@keyframes shimmer {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.07); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* === MOBILE FRIENDLY === */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    width: 90%;
    max-width: 300px;
    height: 280px;
  }
  .services-section h2 {
    font-size: 2rem;
  }
  .services-section .subtext {
    font-size: 0.8rem;
  }
}




/* === Portfolio Section === */
.portfolio-section {
  position: relative;
  z-index: 0;
  padding: 120px 20px;
  background-color: #f9f9f9;
  color: #000;
  text-align: center;
  overflow-x: hidden;
}

/* === Headings === */
.portfolio-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: #000;
}

.portfolio-section .blue-text {
  color: #1e90ff;
}

.portfolio-section .subtext {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #444;
  margin-bottom: 50px;
}

/* === Slider Core === */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;  /* for absolutely positioned buttons */
  max-width: 1000px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;   /* positioning context for dots */
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  touch-action: pan-y;  /* improve mobile swipe */
  cursor: grab;
  padding-bottom: 40px; /* room for the dots below slides */
}

.slider-wrapper:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* === Each Slide & Overlay === */
.slide {
  position: relative;
  min-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-active {
  opacity: 1;
  transform: translateY(0);
}

.slide img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(30, 144, 255, 0.2);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(30, 144, 255, 0.3);
}

/* Gradient overlay to help captions pop */
.slide::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
  border-radius: 0 0 15px 15px;
}

/* === Captions & Fade-in === */
.slide-caption {
  position: relative;
  margin-top: 15px;
  font-size: 1rem;
  color: #111;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

/* === Slider Buttons === */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1e90ff;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  z-index: 2;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

/* === Navigation Dots === */
.slider-dots {
  position: absolute;
  bottom: 12px;         /* 12px above wrapper bottom padding */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: #444;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots .dot.active {
  background: #1e90ff;
}

/* === Modal (Project Preview) === */
#portfolio-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#portfolio-modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === Responsive === */
@media (max-width: 768px) {
  .portfolio-section h2 {
    font-size: 2.2rem;
  }
  .portfolio-section .subtext {
    font-size: 0.85rem;
  }
  .slide-caption {
    font-size: 0.9rem;
  }
  .slider-btn {
    padding: 8px 16px;
    font-size: 1.5rem;
  }
}
/* ─── Slider Caption Link ─── */
.slider-caption-link {
  display: inline-block;
  margin: 1rem auto 0;           /* space above, centered */
  font-size: 1.1rem;             /* slightly larger text */
  font-weight: 600;              /* bold-ish */
  color: #222;                   /* dark gray for good contrast */
  text-decoration: none;         /* remove underline */
  padding: 0.25rem 0.5rem;        /* a bit of breathing room */
  border-radius: 4px;            /* soft corners */
  transition: color 0.2s ease, background 0.2s ease;
}

.slider-caption-link:hover,
.slider-caption-link:focus {
  color: #1e90ff;                /* your brand blue on hover */
  background: rgba(30,144,255,0.1);
  outline: none;
}

/* Ensure it's always centered under the slider */
.slider-container + .slider-caption-link {
  text-align: center;
  width: 100%;
}











/* ========================= */
/* WHY US SECTION            */
/* ========================= */
.why-us-section {
  padding: 6rem 2rem;
  text-align: center;
  background-color: #0c0c0c;
  position: relative;
  z-index: 3;
}

.why-us-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.why-us-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.why-us-section p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 3rem;
}

/* Cards grid */
.why-us-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

/* Individual card */
.why-us-card {
  background-color: #eeeeee;
  width: 100%;
  max-width: 340px;
  height: 320px;                     /* uniform height */
  display: flex;
  flex-direction: column;
  justify-content: center;           /* center content vertically */
  align-items: center;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slowTilt 6s ease-in-out infinite alternate;
}

/* Staggered tilts */
.why-us-card:nth-child(2n) {
  transform: rotate(2deg);
}
.why-us-card:nth-child(3n) {
  transform: rotate(-3deg);
}

/* Idle tilt animation */
@keyframes slowTilt {
  0%, 100% { /* respect initial rotation */
    transform: rotate(var(--initial-tilt, -2deg));
  }
  50% {
    transform: rotate(0deg);
  }
}

/* On hover: pop straight & glow */
.why-us-card:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(30, 144, 255, 0.6);
}

/* Icon styling */
.why-us-card i {
  font-size: 2.6rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.why-us-card:hover i {
  transform: scale(1.2);
}

/* Heading & copy */
.why-us-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
  text-align: center;
}
.why-us-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* Responsive: stack & remove tilt */
@media (max-width: 992px) {
  .why-us-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-us-cards {
    grid-template-columns: 1fr;
  }
  .why-us-card {
    transform: rotate(0deg) !important;
    animation: none !important;
  }
}






/* ========================= */
/* CONTACT SECTION          */
/* ========================= */
.contact-section {
  padding: 100px 20px;
  background: #0c0c0c;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.contact-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-section .blue-text {
  color: #1e90ff;
}

.contact-section .subtext {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #ccc;
  margin-bottom: 40px;
}

/* FORM STYLING */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Inputs & textarea */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s ease, border-color 0.3s ease;
  /* remove backdrop-filter for better performance */
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #1e90ff;
  outline: none;
}

/* Submit button */
.contact-form .btn-primary {
  padding: 14px 28px;
  background-color: #1e90ff;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-primary:hover {
  background-color: #0d6efd;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .contact-section {
    padding: 60px 15px;
  }
  .contact-section h2 {
    font-size: 2rem;
  }
  .contact-section .subtext {
    font-size: 0.85rem;
  }
}
















/* ========================= */
/* FOOTER SECTION           */
/* ========================= */
.footer {
  background: url("../images/footer-neon-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
  padding: 5rem 2rem 3rem;
  color: #111;
  position: relative;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

/* remove any earlier grid rules on .footer-wrapper */
.footer-wrapper {
  display: flex !important;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* each column flexes equally, but won’t shrink below 240px */
.footer-col {
  flex: 1 1 280px;
  min-width: 240px;
}

/* optional text-alignment helpers */
.footer-col.company {
  text-align: left;
}
.footer-col:nth-of-type(2),
.footer-col:nth-of-type(3) {
  text-align: left;
}

/* headings */
.footer-col h2,
.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.2rem;
}

/* logo */
.footer .logo {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
}
.footer .logo span {
  color: #1e90ff;
}

/* description */
.footer .description {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0 2rem;
  max-width: 300px;
}

/* social links */
.footer .follow {
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}
.social-icons a {
  color: #111;
  font-size: 1.3rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #1e90ff;
}

/* lists */
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  color: #222;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #1e90ff;
}

/* bottom bar */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #222;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}
.footer-bottom .highlight {
  color: #f34a64;
  font-weight: 600;
}

/* responsive stack for mobile */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    min-width: auto;
    width: 100%;
  }
  .footer-col.company,
  .footer-col:nth-of-type(2),
  .footer-col:nth-of-type(3) {
    text-align: center;
  }
}






/* ========================= */
/* SCROLL TO TOP BUTTON */
/* ========================= */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 999;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 117, 140, 0.4);
}

.scroll-to-top i {
  font-size: 18px;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 117, 140, 0.6);
}

/* ========================= */
/* ANGLED DIVIDER (Optional) */
/* ========================= */
.angled-divider {
  width: 100%;
  height: 80px;
  background: #0c0c0c;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}

/* ========================= */
/* top DIVIDER STYLES  */
/* ========================= */
.jagged-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: transparent;
  z-index: 5;
  position: relative;
}


.jagged-divider svg {
  display: block;
  width: 100%;
  height: 100px;

  /* 🔥 Final rendering fixes */
  shape-rendering: crispEdges; /* sharpen edges */
  transform: translateY(0.5px); /* shift 0.5px to cover line */
  will-change: transform;
  backface-visibility: hidden;
}

/* ========================= */
/* BOTTOM DIVIDER STYLES */
/* ========================= */
.jagged-divider.bottom-divider {
  position: relative;
  width: 100%;
  height: 120px;
  background: #0c0c0c;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  margin-top: -1px; /* Connects smoothly to the above section */
}

.jagged-divider.bottom-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
  transform: translateY(-0.5px); /* Ensures alignment */
  backface-visibility: hidden;
  will-change: transform;
}
