@import url('./media.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'poppins', sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

#hb {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-behavior: smooth;
  z-index: 50;
  margin-left: 2.5px;
}

header {
  width: 70vw;
  top: 2.5rem;
  transform-origin: center;
  height: 70px;
  background: transparent;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5px);
  border: 5px solid rgb(0, 0, 0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding-right: 5px;
  z-index: 999;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.224);
  transition: all ease-in-out 0.2s;
}

header.snap {
  top: 0;
  background: rgba(17, 17, 17, 0.657);
  backdrop-filter: blur(3px);
  width: 100%;
  border-radius: 0px;
  border: none;
  transition: all ease-in 0.2s;
  margin-right: 15px;
}

#logo {
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
  position: relative;
  z-index: 20;
}

#logo .profilePic {
  width: 50px;
  border-radius: 1.9rem;
  background-color: #ff5010;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  border: 4px solid rgb(211, 211, 211);
  cursor: pointer;
  transition: ease-in-out all 0.3s;
}

#logo .profilePic:hover {
  width: 300px;
  transition: ease-in all 0.2s;
  position: absolute;
  z-index: 999;
  transform: translate(50px, 100px);
  border-radius: 500px;
  
}

@media (max-width: 768px) {
  #logo .profilePic:hover {
    width: 100px;
    transition: ease-in all 0.2s;
    position: absolute;
    z-index: 999;
    transform: scale(2) translate(-7px ,50px) ;
    border-radius: 500px;
  }
}

.fa-hamburger {
  display: none;
}

nav {
  display: flex;
  flex-direction: row;
}

li {
  list-style: none;
  transform-origin: center;
}

header > nav > li > div > a {
  text-decoration: none;
  font-weight: 800;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
  background: rgb(255, 0, 0);
  transition: ease-in-out all 0.3s;
}

header > nav > li > div > a:hover {
  color: #101010;
  transition: ease-in-out all 0.4s;
  padding: 1rem;
  background: #ffffff;
}

/* header ends here */

#container {
  width: 100dvw;
  height: 100dvh;
  opacity: 0.8;
  background-image: linear-gradient(rgb(200, 200, 200) 1px, transparent 1px),
    linear-gradient(to right, rgb(108, 108, 108) 1px, #e5e5f7 1px);
  background-size: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

#contents {
  width: 91%;
  height: 500px;
  margin-top: 125px;
  display: flex;
  background: linear-gradient(68deg, rgb(255, 81, 0), rgb(231, 183, 26));
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  padding: 15px;
  overflow: hidden;
}

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
/* Gradient border layer */
#contents::before {
  content: '';
  position: absolute;
  inset: 0;

  padding: 8px; /* thickness of border */
  background: conic-gradient(
    from var(--angle),
    rgb(255, 0, 0),
    white,
    rgb(255, 0, 0)
  );
  mask: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 5s linear infinite;
  z-index: -1;
}

#contents > .inner {
  width: 100%;
  height: 100%;
  border-radius: 45px; /* slightly smaller */
  background: linear-gradient(68deg, rgb(255, 81, 0), rgb(231, 183, 26));
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

#container #contents span {
  font-size: 3.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(to right, pink, pink);
  background-clip: text;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 95, 0.4));
  position: relative;
  text-transform: uppercase;
}

#container #contents p {
  width: 50rem;
  text-align: center;
  color: #000b27;
  font-weight: 600;
}

#container #contents .social_ico {
 display: none;
}

.social_ico a {
  color: darkblue;
  text-decoration: none;

}

#social_icons {
  background: rgb(255, 0, 0);
  width: 300px;
  height: 70px;
  position: absolute;
  z-index: 200;
  display: block;
  transform: translateX(0%);
  margin-top: 400px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#social_icons > div > a > div {
  width: 70px;
  height: 37.5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#social_icons > div > a > div > i {
  font-size: 2rem;
}

#social_icons > div > a {
  text-decoration: none;
  color: pink;
}

#social_icons > div > a > div > i:hover {
  color: pink;
  transition: all ease-in-out 0.3s;
  filter: drop-shadow(0px 0px 35px #555);
  overflow: hidden;
  cursor: pointer;
}

/* hero section (home) ends here */

#section_two {
  width: 100vw;
  height: 100vh;
  background-color: #e5e5f7;
  opacity: 0.8;
  background-image: linear-gradient(rgb(200, 200, 200) 1px, transparent 1px),
    linear-gradient(to right, rgb(108, 108, 108) 1px, #e5e5f7 1px);
  background-size: 20px 20px;
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#section_two #about_ {
  align-content: center;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 800;
  z-index: 40;
  opacity: 0;
  color: #000b27;
  font-size: 3.5rem;
  transform: translateY(-50px);
  transition: all ease-in-out 0.6s;
  cursor: default;
}

#section_two #about_.visible {
  opacity: 1;
  transform: translateY(0px);
  cursor: text;
}

#section_two {
  position: relative;
}
#section_two > #content_two {
  width: 91%;
  background-color: #fcfcfc;
  backdrop-filter: blur(3px);
  height: 500px;

  transition: all ease-in-out 0.6s;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1.9);
  padding-top: 70px 60px 10px 60px;
  transform: translateX(-1000px);
}

#section_two > #content_two.left_to_center {
  transform: translateX(0%);
}

#section_two > #content_two > #paragraph {
  width: 85%;

  text-align: center;
  font-weight: 700;
  letter-spacing: 0.7px;
  word-spacing: 2px;
  color: #0b0b0b;

  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
}

#section_two > #content_two > #paragraph > div {
  white-space: nowrap;
  display: flex;
  justify-content: space-around;
  align-items: space-between;
  margin-top: 40px;
  position: relative;
}

#section_two > #content_two > #paragraph > div > span {
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  line-height: 30px;
}

#section_two > #content_two > #paragraph > a >button {
  padding: 18px 45px;
  margin-top: 10px;
  border: none;
  background: rgb(255, 0, 0);
  font-size: 1.2rem;
  border-radius: 1rem;
  font-weight: 800;
}

#section_two > #content_two > #paragraph > a > button:hover {
  background: #ff5010;
  color: #000000;
  transition: all ease-in-out 0.4s;
  cursor: pointer;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
}

#section_two > #content_two > #paragraph > div > #marqee_icons {
  white-space: nowrap;
  background: rgb(251, 251, 251);
  padding: 20px 0;
  overflow: hidden;
  width: 900px;
  position: relative;
  padding-top: 30px;
}

#section_two > #content_two > #paragraph > div > #marqee_icons::before,
#section_two > #content_two > #paragraph > div > #marqee_icons::after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: '';
  z-index: 400;
}

#section_two > #content_two > #paragraph > div > #marqee_icons::before {
  position: absolute;
  left: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgb(255, 255, 255)
  );
}

#section_two > #content_two > #paragraph > div > #marqee_icons::after {
  position: absolute;
  right: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgb(255, 255, 255)
  );
}

#section_two > #content_two > #paragraph > div > #marqee_icons > #icons {
  white-space: nowrap;

  display: inline-block;
  animation: 10s linear _scroll infinite;
}

#section_two > #content_two > #paragraph > div > #marqee_icons > #icons > img {
  width: 50px;
  height: 50px;
  margin: 0px 20px;
}

@keyframes _scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* section_two (about_) ends here */

#section_four {
  width: 100vw;
  height: 100vh;
  background-color: #e5e5f7;
  opacity: 0.8;
  background-image: linear-gradient(rgb(200, 200, 200) 1px, transparent 1px),
    linear-gradient(to right, rgb(108, 108, 108) 1px, #e5e5f7 1px);
  background-size: 20px 20px;
  position: relative;
}

#section_four > div {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#section_four > div > #projects {
  align-content: center;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 800;
  z-index: 40;
  opacity: 0;
  color: #000b27;
  font-size: 3.5rem;
  transform: translateY(-50px);
  transition: all ease-in-out 0.6s;
  margin-top: 70px;
  cursor: default;
}

#section_four > div > #projects.visible_2 {
  opacity: 1;
  cursor: text;
  transform: translateY(0px);
}

#section_four > div > #content_four {
  width: 91%;
  height: 400px;
  background: #333333;
  z-index: 250;
  margin-top: 200px;
  transition: 0.6s ease-in-out all;
  position: absolute;
  transform: translate(1000px);

}

#section_four > div > #content_four.slide_two {
  transform: translate(0px);
  position: absolute;
  z-index: 250;
}



/* section_four (contact) ends here*/
#section_five {
  width: 100%;
  height: 400px;
  background-color: #e5e5f7;

  background-image: linear-gradient(rgb(200, 200, 200) 1px, transparent 1px),
    linear-gradient(to right, rgb(108, 108, 108) 1px, #e5e5f7 1px);
  background-size: 20px 20px;

  position: relative;
}

footer {
  width: 100%;
  height: 400px;
  background: #1f1f1f;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

footer > #footer_card {
  width: 85%;
  height: 350px;
  border-radius: 5px;
  background: rgb(90, 90, 90);
  margin-top: 50px;
  z-index: 500;
  position: absolute;
  animation: 3s example ease-in-out 1;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

footer > #footer_card:hover {
  animation: 0;
  transform: translateY(-30px);
  transition: ease-in-out 0.3s all;
}
/*@keyframes example {

  0% {
    transform: rotateZ(0);
    pointer-events: none;
  }
  15% {
    transform: rotateZ(-15deg);
    pointer-events: none;
  }
  20% {
    transform: rotateZ(10deg);
    pointer-events: none;
  }
  25% {
    transform: rotateZ(-10deg);
    pointer-events: none;
  }
  30% {
    transform: rotateZ(6deg);
    pointer-events: none;
  }
  35% {
    transform: rotateZ(-4deg);
    pointer-events: none;
  }
  40%,
  100% {
    transform: rotateZ(0);
    transition: ease 1s linear;
    pointer-events: none;
  }
} */

footer > #footer_card > div {
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

footer > #footer_card.hideAfter::after {
  content: none !important;
}

footer > #footer_card::after {
  content: 'contact';
  width: 100vw;
  height: 100%;
  font-size: 20rem;
  font-weight: 800;
  font-style: italic;
  transform: translateY(-9rem);
  position: absolute;
  text-align: center;
  color: #5f5f5f;
  z-index: -200;
  margin-top: 4.5rem;
}

@media all and (max-width: 1400px) {
  footer > #footer_card::after {
    font-size: 18rem;
    transform: translateY(-7rem);
  }
}

@media all and (max-width: 1200px) {
  footer > #footer_card::after {
    font-size: 15rem;
    transform: translateY(-2rem);
  }
}

@media all and (max-width: 900px) {
  footer > #footer_card::after {
    font-size: 10rem;
    transform: translateY(1rem);
  }
}

@media all and (max-width: 600px) {
  footer > #footer_card::after {
    font-size: 6rem;
    transform: translateY(6rem);
  }
}


footer > #footer_card > div > span {
  padding: 15px 30px;
  border: none;
  font-size: 1.2rem;
  background: pink;
  text-transform: uppercase;
  box-shadow: 0px 0px 20px rgba(pink, 0.1.9);
  border-radius: 2rem;
  font-weight: 800;
  margin-top: 100px;
  position: absolute;
  z-index: 50;
  cursor: pointer;
  transition: all ease-in-out 0.5s;
}

footer > #footer_card > div > span:hover {
  transform: scale(1);
  transition: all ease-in-out 0.5s;
}

footer > #footer_card > div > span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 5px;
  background: conic-gradient(
    from var(--angle),
    rgb(255, 255, 255),
    #37ffff,
    rgb(44, 129, 255),
    white
  );
  mask: inherit;
  -webkit-mask: linear-gradient(#000000 0 0) content-box,
    linear-gradient(#000000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 5s linear infinite;
  z-index: -1;
}

footer > #footer_card > div > span.hidden {
  display: none;
}

footer > #footer_card.moveUp_rotate {
  margin-bottom: 350px;
  transform: rotateY(180deg);
  height: 500px;
  transition: 0.5s ease-in-out all;
}

footer > #footer_card > .rotate_to_footer_card.hidden {
  display: none;
}

footer > #footer_card > div > .rotate_to_footer_card {
  width: 50px;
  height: 30px;
  background: transparent;
}

footer > #footer_card > div.rotate_to_footer_card {
  height: 50px;
  width: 50px;
  background: url(../svgs/Close-Circle--Streamline-Solar.svg);
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  margin-top: 40px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  position: absolute;
  z-index: 400;
  bottom: 435px;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
}
footer > #footer_card > div:hover {
  transform: scale(1.2);
  transition: all 0.1s ease-in-out;
}

footer > #footer_card.moveDown_rotate {
  margin-bottom: 0;
  transform: rotateY(0deg);
  height: 350px;
  transition: 0.5s ease-in-out all;
}
.hidden {
  display: none !important;
}

footer > #footer_card > #footer_links {
  display: flex;
  width: 85%;
  align-items: center;
  justify-content: center;
  bottom: -11rem;
  position: relative;
}

footer > #footer_card > #footer_links > div {
  width: 85%;
  height: 50px;
  position: absolute;
  z-index: -30;
}

footer > #footer_card > #footer_links > div > ul {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 30;
  gap: 1rem;
}

footer > #footer_card > #footer_links > div > ul > div > li > a {
  color: pink;
  font-size: 2rem;
}
footer > #footer_card > .form-contact {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer > #footer_card > .form-contact.form-hidden {
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Responsive form inside .form_div ---------- */

/* Make sure .form_div fills its parent */
.form_div {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
  padding: 10px;
}

/* MAIN FORM LAYOUT - desktop: 2 columns (left: user info, right: message + btn) */
.form_div > form {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-auto-rows: min-content;
  gap: 16px;
  align-items: start;
  padding: 16px;
  box-sizing: border-box;
  background: transparent;
  transform: rotateY(180deg);
}

/* USER INFO column (name + email) */
.form_div > form > .user_information {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center; /* center inputs and labels horizontally */
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;

  margin-top: 20px;
}

/* Labels style (applies to both name/email and message label) */
.form_div > form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #bfc7d6;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  text-align: center;
}

/* Inputs - fluid but limited on large screens */
.form_div > form input[type='text'],
.form_div > form input[type='email'] {
  width: 100%;
  max-width: 340px; /* controls desktop width */
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #515151;
  color: #fff;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, transform 0.08s ease,
    border-color 0.12s ease;
  text-align: center; /* centered text inside inputs */
}

/* Input hover / focus */
.form_div > form input[type='text']:hover,
.form_div > form input[type='email']:hover {
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
}
.form_div > form input[type='text']:focus,
.form_div > form input[type='email']:focus {
  outline: none;
  border-color: rgba(229, 70, 91, 0.9);
  box-shadow: 0 6px 18px rgba(229, 70, 91, 0.9););
}

/* MESSAGE label + TEXTAREA - occupy right column */
.form_div > form label[for='message'] {
  grid-column: 2 / 3;

  margin-bottom: 8px;
  text-align: left; /* message label aligns left for readability */
}

/* Target the textarea specifically and place it into right column */
.form_div > form > textarea#message {
  grid-column: 2 / 3;
  width: 100%;
  height: calc(
    100% - 64px
  ); /* try to occupy remaining height on large screens */
  min-height: 180px;
  max-height: 100%;
  padding: 12px 14px;
  resize: vertical;
  font-size: 1rem;
  line-height: 1.45;
  color: #e6e6eb;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.12s ease;

}

/* TEXTAREA focus */
.form_div > form > textarea#message:focus {
  outline: none;
  border-color: rgba(229, 70, 91, 0.9);;
  box-shadow: 0 6px 18px rgba(229, 70, 91, 0.9);;
}

/* SUBMIT button - placed in right column and bottom aligned */
.form_div > form > button[type='submit'] {
  grid-column: 2 / 3;
  justify-self: end;
  align-self: end;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, #ff3333, #ff5555);
  color: #fff;
  font-weight: 700;

  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

/* Button hover / active */
.form_div > form > button[type='submit']:hover {
}
.form_div > form > button[type='submit']:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px greenyellow;
}

/* STATUS span: keep inside flow below button on small screens; on desktop place near button */
.form_div > form > #status {
  grid-column: 2 / 3;
  justify-self: start;
  align-self: end;
  margin-left: 12px;
  color: #9aa3b2;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Tablet / small laptop: stack with narrower message height */
@media (max-width: 1100px) {
  .form_div > form {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding:12px;
  }
  .form_div > form > textarea#message {
    min-height: 170px;
    height: auto;
  }
}

/* Mobile: single column stacked layout */
@media (max-width: 768px) {
  .form_div > form {
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    height: auto; /* let form grow inside parent container */
  }

  .form_div > form > .user_information {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
  }

  /* message label becomes regular block above textarea */
  .form_div > form label[for='message'] {
    grid-column: auto;
    text-align: center;
  }

  .form_div > form > textarea#message {
    grid-column: auto;
    height: 160px;
    min-height: 120px;
  }

  .form_div > form > button[type='submit'] {
    grid-column: auto;
    justify-self: center;
    align-self: center;
    width: 100%;
    max-width: 420px;
  }

  .form_div > form > #status {
    grid-column: auto;
    justify-self: center;
    margin-top: 2px;
    
    background: #444444ff;
    padding: 4px 8px;
    border-radius: 5px;
  }
}

/* Tiny phones: slightly smaller paddings and fonts */
@media (max-width: 420px) {
  .form_div > form {
    padding: 10px;
    gap: 10px;
  }

  .form_div > form input[type='text'],
  .form_div > form input[type='email'],
  .form_div > form > textarea#message {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .form_div > form > button[type='submit'] {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

footer > #copyright {
  width: 100%;
  height: 80px;
  background: rgb(36, 36, 36);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  bottom: 0px;
  z-index: 999;
  position: absolute;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

@media all and (max-width: 768px) {
  footer > #copyright {
    font-size: 0.8rem;
  }
}

footer > #copyright > a {
  color: red;
  font-weight: bold;
  margin: 0px 5px;
}


/*-----------------------------------------*/

/*------swiper js code stats here -------*/

/* ===== Base Container ===== */
.marquee-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
  background: #000; /* optional background */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Scrolling Wrapper ===== */
.marquee {
  display: flex;
  gap: 20px;
  animation: scroll 25s linear infinite;
}

/* ===== Images ===== */
.marquee img {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.marquee img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ===== Pause Animation on Hover ===== */
.marquee-container:hover .marquee {
  animation-play-state: paused;
}

/* ===== Scroll Animation ===== */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== Responsive Design ===== */

/* Tablets */
@media (max-width: 1024px) {
  .marquee img {
    width: 450px;
    height: 300px;
  }
  .marquee-container {
    height: 350px;
  }
}

/* Large Mobile Phones */
@media (max-width: 768px) {
  .marquee img {
    width: 350px;
    height: 250px;
  }
  .marquee-container {
    margin-top: 50px;
    height: 300px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {

  .marquee img {
    width: 250px;
    height: 180px;
  }
  .marquee-container {
    height: 220px;
  }

}


