/* Base styles remain the same */
.para {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1800px;
  background-color: #f5f5f5;
  align-items: start;
}

.para .para-left img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center 30%;
}

.para .para-right {
  padding: 5rem 13rem;
  text-align: justify;
  padding-left: 3rem;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.para .para-right .b {
  color: #f64279;
  font-family: "CanavaSans", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.para .para-right .p {
  color: #2e2e2e;
  font-family: "CanavaSans", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Cards Section */
.c-sec {
  text-align: center;
  padding: 4rem 6rem 2rem 6rem;
  position: relative;
}

.c-sec .s-title {
  font-family: "PlayfairDisplay", serif;
  font-size: 2.5rem;
  color: #f54078;
  margin-bottom: 3rem;
  font-weight: 400;
}

.c-sec .s-p {
  font-family: "PlayfairDisplay", serif;
  font-size: 1rem;
  color: #f54078;
  margin: 3rem 20rem;
  font-weight: 400;
}

.c-sec .p-cards {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  margin: 3rem;
}

.c-sec .p-card {
  flex: 1;
  min-width: 200px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-sec .p-card .p-i {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
}

.c-sec .p-card .p-t {
  margin-bottom: 12px;
  color: #f54078;
  font-size: 1.16875rem;
  font-family: "PlayfairDisplay", serif;
  font-weight: bold;
}

.c-sec .p-card .p-p {
  padding: 0 2rem;
  color: #000;
  font-size: 1rem;
  font-family: "CanavaSans", sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

.c-sec::before {
  content: "";
  position: absolute;
  background: #f7f9fb;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/gry.png), url(../images/l-1.png);
  background-repeat: no-repeat, no-repeat;
  background-position: -135px 0, 1200px 360px;
  background-size: 250px 300px, 500px 400px;
  z-index: -1;
}

/* Video Section */
.v-sec {
  text-align: center;
  padding: 1rem 3rem;
  position: relative;
}

.v-sec .divide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.v-sec .divide .d-left {
  flex: 0 0 50%;
  height: 500px;
  align-self: right;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.v-sec .divide .d-left video {
  width: 75%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.v-sec .divide .d-right {
  flex: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  padding: 0;
  width: 400px;
}

.d-right h4 {
  font-family: "PlayfairDisplay", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #f54078;
  text-align: left;
  padding-bottom: 1rem;
  padding-right: 20rem;
  line-height: 1.5;
}

.d-right p {
  font-family: "CanvaSans", sans-serif;
  font-size: 1rem;
  color: #2e2e2e;
  padding-bottom: 1rem;
  text-align: left;
}

.v-sec .v-p {
  font-family: "CanavaSans", sans-serif;
  font-size: 1rem;
  color: #f54078;
  padding: 1rem 20rem 0 20rem;
}

.v-sec::before {
  content: "";
  position: absolute;
  background-color: #eff8ea;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/gry.png);
  background-repeat: no-repeat;
  background-position: 1310px 100px;
  background-size: 500px 600px;
  z-index: -1;
}

/* Anime Section with Video Background */
.anime {
  position: relative;
  padding: 6rem 18rem;
  background-color: #fb8eaf;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(246, 66, 121, 0.6);
  z-index: 2;
}

.anime h2 {
  font-family: "PlayfairDisplay", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 25px;
  color: white;
  font-weight: 600;
  text-align: center;
  min-height: 60px;
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(50px);
}
.a-card {
  background: white;
  color: #f54078;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-top: 30px;
  position: relative;
  z-index: 3;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.a-card h2 {
  color: #f54078;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  transform: translateY(0px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Large Desktop (1200px and up) - Default styles apply */

/* Medium Desktop/Laptop (992px - 1199px) */
@media screen and (max-width: 1199px) {
  .c-sec .s-p {
    margin: 3rem 10rem;
  }

  .v-sec .v-p {
    padding: 1rem 10rem 0 10rem;
  }

  .d-right h4 {
    padding-right: 10rem;
  }

  .c-sec::before {
    background-position: -135px 0, 1000px 360px;
    background-size: 200px 250px, 400px 300px;
  }

  .v-sec::before {
    background-position: 1100px 100px;
    background-size: 400px 500px;
  }
}

/* Small Desktop/Large Tablet (768px - 991px) */
@media screen and (max-width: 991px) {
  .para {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .para .para-left img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }

  .para .para-right {
    padding: 3rem 2rem;
  }

  .c-sec {
    padding: 3rem 2rem 2rem 2rem;
  }

  .c-sec .s-title {
    font-size: 2rem;
  }

  .c-sec .s-p {
    margin: 2rem 5rem;
  }

  .c-sec .p-cards {
    margin: 2rem 0;
    gap: 10px;
  }

  .c-sec .p-card {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
    margin-bottom: 20px;
  }

  .c-sec .p-card .p-i {
    width: 120px;
    height: 120px;
  }

  .c-sec .p-card .p-p {
    padding: 0 1rem;
    font-size: 0.9rem;
  }

  .v-sec {
    padding: 2rem 2rem;
  }

  .v-sec .divide {
    flex-direction: column;
    text-align: center;
  }

  .v-sec .divide .d-left {
    flex: none;
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
  }

  .v-sec .divide .d-left video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .v-sec .divide .d-right {
    flex: none;
    width: 100%;
    padding: 0;
  }

  .d-right h4 {
    text-align: center;
    padding-right: 0;
    font-size: 1rem;
  }

  .d-right p {
    text-align: center;
    font-size: 0.95rem;
  }

  .v-sec .v-p {
    padding: 1rem 2rem 0 2rem;
  }

  .anime {
    padding: 40px 15px;
    min-height: 500px;
  }

  .anime h2 {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .a-card {
    padding: 20px;
    margin-top: 25px;
  }

  .a-card h2 {
    font-size: 1rem;
  }

  /* Hide background images on tablets */
  .c-sec::before,
  .v-sec::before {
    background-image: none;
  }
}

/* Medium Tablet (640px - 767px) */
@media screen and (max-width: 767px) {
  .para .para-right {
    padding: 2rem 1.5rem;
  }

  .para .para-right .b,
  .para .para-right .p {
    font-size: 0.95rem;
  }

  .c-sec {
    padding: 2rem 1rem;
  }

  .c-sec .s-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .c-sec .s-p {
    margin: 2rem 1rem;
    font-size: 0.95rem;
  }

  .c-sec .p-cards {
    flex-direction: column;
    gap: 15px;
    margin: 1.5rem 0;
  }

  .c-sec .p-card {
    flex: none;
    width: 100%;
    padding: 25px 15px;
  }

  .c-sec .p-card .p-i {
    width: 100px;
    height: 100px;
  }

  .c-sec .p-card .p-t {
    font-size: 1rem;
  }

  .c-sec .p-card .p-p {
    padding: 0;
    font-size: 0.9rem;
  }

  .v-sec {
    padding: 2rem 1rem;
  }

  .v-sec .divide .d-left {
    height: 250px;
  }

  .v-sec .divide .d-left video {
    height: 100%;
    object-fit: cover;
  }

  .d-right h4 {
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
  }

  .d-right p {
    font-size: 0.9rem;
  }

  .v-sec .v-p {
    padding: 1rem 1rem 0 1rem;
    font-size: 0.95rem;
  }

  .anime {
    padding: 30px 10px;
    min-height: 400px;
  }

  .anime h2 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 50px;
  }

  .a-card {
    padding: 18px;
    margin-top: 20px;
  }

  .a-card h2 {
    font-size: 0.95rem;
  }
}

/* Small Mobile (480px - 639px) */
@media screen and (max-width: 639px) {
  .para .para-left img {
    height: 250px;
  }

  .para .para-right {
    padding: 1.5rem 1rem;
  }

  .c-sec {
    padding: 1.5rem 0.5rem;
  }

  .c-sec .s-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .c-sec .s-p {
    margin: 1.5rem 0.5rem;
    font-size: 0.9rem;
  }

  .c-sec .p-card {
    padding: 20px 10px;
  }

  .c-sec .p-card .p-i {
    width: 80px;
    height: 80px;
  }

  .c-sec .p-card .p-t {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .c-sec .p-card .p-p {
    font-size: 0.85rem;
  }

  .v-sec {
    padding: 1.5rem 0.5rem;
  }

  .v-sec .divide .d-left {
    height: 200px;
    margin-bottom: 1.5rem;
  }

  .v-sec .divide .d-left video {
    height: 100%;
    object-fit: cover;
  }

  .d-right h4 {
    font-size: 0.9rem;
    padding-bottom: 1rem;
  }

  .d-right p {
    font-size: 0.85rem;
    padding-bottom: 0.8rem;
  }

  .v-sec .v-p {
    padding: 1rem 0.5rem 0 0.5rem;
    font-size: 0.9rem;
  }

  .anime {
    padding: 25px 5px;
    min-height: 350px;
  }

  .anime h2 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    min-height: 40px;
  }

  .a-card {
    padding: 15px;
    margin-top: 15px;
  }

  .a-card h2 {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (320px - 479px) */
@media screen and (max-width: 479px) {
  .para .para-left img {
    height: 200px;
  }

  .para .para-right {
    padding: 1rem 0.8rem;
  }

  .para .para-right .b,
  .para .para-right .p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .c-sec {
    padding: 1rem 0.3rem;
  }

  .c-sec .s-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .c-sec .s-p {
    margin: 1rem 0.3rem;
    font-size: 0.85rem;
  }

  .c-sec .p-card {
    padding: 15px 5px;
  }

  .c-sec .p-card .p-i {
    width: 70px;
    height: 70px;
  }

  .c-sec .p-card .p-t {
    font-size: 0.9rem;
  }

  .c-sec .p-card .p-p {
    font-size: 0.8rem;
  }

  .v-sec {
    padding: 1rem 0.3rem;
  }

  .v-sec .divide .d-left {
    height: 180px;
    margin-bottom: 1rem;
  }

  .v-sec .divide .d-left video {
    height: 100%;
    object-fit: cover;
  }

  .d-right h4 {
    font-size: 0.85rem;
    padding-bottom: 0.8rem;
  }

  .d-right p {
    font-size: 0.8rem;
    padding-bottom: 0.6rem;
  }

  .v-sec .v-p {
    padding: 0.8rem 0.3rem 0 0.3rem;
    font-size: 0.85rem;
  }

  .anime {
    padding: 20px 5px;
    min-height: 300px;
  }

  .anime h2 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    min-height: 35px;
  }

  .a-card {
    padding: 12px;
    margin-top: 12px;
  }

  .a-card h2 {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Disable typewriter animation on very small screens */
  .anime h2.typewriter {
    animation: none;
    border-right: none;
    white-space: normal;
    overflow: visible;
  }
}

/* Landscape orientation fixes for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .anime {
    min-height: 250px;
    padding: 15px 10px;
  }

  .anime h2 {
    font-size: 0.8rem;
    margin-bottom: 8px;
    min-height: 30px;
  }

  .a-card {
    padding: 10px;
    margin-top: 10px;
  }

  .v-sec .divide .d-left {
    height: 150px;
  }

  .v-sec .divide .d-left video {
    height: 100%;
    object-fit: cover;
  }
}
.status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
