/* paragraph font */
/* @import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap"); */
/* @import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.cdnfonts.com/css/parade"); */

@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.cdnfonts.com/css/parade");

/* CSS Reset */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  outline: none;
  /* for custom cursor */
  cursor: url("../images/cursor.png"), auto;
  /* to not select the text */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

@font-face {
  font-family: "Stranger-Things";
  src: url("../font/StrangerThings.woff2") format("woff2"),
       url("../font/StrangerThings.woff") format("woff"),
       url("../font/StrangerThings.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* @font-face {
  font-family: "Harry-Potter";
  src: url("../font/harry-potter.ttf");
}

@font-face {
  font-family: "Great-Vibes";
  src: url("../font/great-vibes.ttf");
} */

:root {
    /* --primary-color: #8B0000; */
  --primary-color:#ff0018      /* Deep blood red */
  --secondary-color: #B22222;    /* Crimson accent */
  --gold-color: #FF4500;         /* Fiery orange-red glow */
  --black-color: #1A0000;        /* Black with red undertone */
  --white-color: #F5E6E6;
  /* title font */
  /* para font */
  /* --primary-font: "PT Serif", serif; */
  /* heading font */
  /* --secondary-font: "Great-Vibes"; */
  /* have to be changed */
  --primary-font: "ITC Benguiat Std", sans-serif;
  --secondary-font: "Parade", sans-serif;
  --size: 16px;

  /* Card color */
  --card-color: rgb(23, 23, 23);

  /* Event cards */
  --card-height: 600px;
  --card-width: calc(var(--card-height) / 1.5);
}
.logo{
  width: 150px;
  height: auto;
  margin-right: 10px;
}

/* Utility classes  */
.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* gap: 10px; */
}


/* General styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--black-color);
  font-family: var(--primary-font);
  color: var(--white-color);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--secondary-font);
  text-align: center;
}

h3 {
  font-size: 2.5rem;
  color: var(--gold-color);
  padding-block: 0 1rem;
}
.b{
  cursor: pointer;
}
.heading {
  font-size: 2.5rem;
  text-align: center;
}

/* About styles */
.about {
  /* height: 90vh; */
  margin: 3rem 0 2rem;
  position: relative;
  /* to make about bg black */
  /* background-color: black; */
}
/* For particles canvas */
.particles-js-canvas-el {
  max-width: 100vw;
  height: 100%;
  position: absolute;
}
.card-extra-img {
  display: flex;
  justify-content: center;
  margin: 1rem 0; /* space around new image */
}

.card-extra-img img {
  width: 50%;            /* adjust size */
  max-width: 300px;      /* keep it from getting too big */
  border-radius: 12px;   /* optional rounded corners */
  /* box-shadow: 0 0 20px #f6c550;  */
  /* yellow glow around the image */
  box-shadow: 0 0 20px #FF4500
}

.cards:hover > .card::after {
  opacity: 1;
}

.card {
  /* have to change - height */
  height: 90vh;
  /* min-height: auto; */
  width: 89vw;
  max-width: 1100px;
  margin: 0 auto 1.8rem;
  /* glass effect */
  /* background: rgba(168, 161, 161, 0.126); */
  background-color: black;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.6px);
  -webkit-backdrop-filter: blur(6.6px);
  border: 1px solid rgba(157, 156, 153, 0.08);
  transition: box-shadow 0.5s;
}

.card:hover {
  /* box-shadow: 0px 9px 20px 0px #f6c4508f, 0px -9px 20px 0px #f6c4508f; */
  box-shadow: 0px 9px 20px 0px #e6292f, 0px -9px 20px 0px #e6292f;
}
.card:hover::before {
  opacity: 1;
}

.card::before,
.card::after {
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  transition: opacity 500ms;
  width: 100%;
}

.card::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    /* rgba(192, 210, 75, 0.135), */
    rgba(241, 3, 3, 0.135),
    transparent 40%
  );
  z-index: 3;
}

.card::after {
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    var(--primary-color),
    transparent 40%
  );
  z-index: 1;
}

.card > .card-content {
  background-color: rgb(23, 23, 23);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  inset: 1px;

  position: absolute;
  z-index: 2;
  padding: 0 30px;
}

.card-content p {
  font-size: 1.1rem;
  line-height: 1.3;
  text-indent: 2rem;
  text-align: center;
}

.card-img img {
  display: block;
  margin-inline: auto;
  width: 60%;
  max-width: 400px;
}

/* Events styles */
.events {
  min-height: auto;
}

/* Schedule Styles */
.schedule {
  background-image: url('../images/assets/time line.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-color);
  height: auto;
  padding-block: 3rem;
}

.schedule-heading {
  color: var(--gold-color);
  font-size: 3.5rem;
  padding-bottom: 2rem;
}

.team-sponsors {
  padding-left: 20px; /* Add padding to the left */
  padding-right: 20px; /* Add padding to the right */
  padding-top: 20px; /* Optional: Add padding to the top */
  padding-bottom: 20px; /* Optional: Add padding to the bottom */
  max-width: 1200px; /* Set a maximum width to reduce the overall width */
  margin: 0 auto; /* Center the container */
}

.team-sponsors h3 {
  font-size: 2rem;
  padding-bottom: 2rem; /* Reduced padding below the heading */
  margin-top: 2rem; /* Added margin to move it lower */
}

.team-sponsors .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* Creates 12 columns */
  gap: 10px; /* Reduced gap between items */
}

.sponsor {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  margin: 0 auto 1rem; /* Reduced margin at the bottom */
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.1px);
  -webkit-backdrop-filter: blur(9.1px);
  transition: box-shadow 0.3s ease;
  padding: 15px;
}

/* Adjusting the grid positioning for the images */
.sponsor:nth-child(1),
.sponsor:nth-child(2) {
  grid-column: span 6; /* Two images in the first row, each spanning 6 columns */
}

.sponsor:nth-child(3) {
  grid-column: 4 / 10; /* Center the third image in the second row */
}

/* For the third row, center two images similar to the first row */
.sponsor:nth-child(4),
.sponsor:nth-child(5) {
  grid-column: span 6; /* Each image spans 6 columns, just like the first row */
}

.sponsor img {
  width: 100%;
  height: auto;
  transition: transform 1s;
}

.sponsor:last-child img {
  display: block;
  width: 90%;
  margin-inline: auto;
  border-radius: 20px;
}

.sponsor:hover img {
  transform: scale(1.1);
}

.sponsor:hover {
  box-shadow: #fcee0a 2px 2px 10px, #fcee0a -2px -2px 10px;
}

/* Swiper - photo slides */
.team {
  padding-inline: 1.5rem;
}

.member-name {
  padding-block: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-color);
}

.member-role {
  font-size: 1.1rem;
  font-weight: 400;
}

.swiper {
  width: 100%;
  max-width: 1000px;
  /* padding-top: 50px; */
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: auto;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.swiper-slide p {
  text-align: center;
}
.view-btn
{
 
  display: flex;
  justify-content: center;
}
.btn
{
  padding: 10px;
  font-size: 20px;
  border-radius: 5px;
  text-decoration: none;
  background-color: white;
  color: black;
  cursor: pointer;


}
.btn:visited {
  color: black; 
  background-color: white;
}

/* Footer styles */
.footer {
  /* path is relative to this CSS file (styles/). 
     Put the image at: d:\CCE_web\cocoenz-24\images\bg\footer-bg.jpg */
  background-image: url('../images/assets/Form bg.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  /* ensure text remains readable */
  background-color: rgba(0, 0, 0, 0.45);
  background-blend-mode: multiply;

  padding: 3rem 2rem;
  color: var(--white-color);
  position: relative;
  z-index: 0;
}




.flex {
  display: flex;
}
.footer {
  height: auto;
  background-color: var(--primary-color);
  padding: 2rem 3rem;
}


.contact.flex {
  flex-direction: column;
}

.mail {
  width: 140%;
}

.mail.flex,
.contact-name.flex {
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.mail p {
  word-break: break-all;
}

.footer * {
  color: rgb(227, 225, 225);
}
.footer h4 {
  font-size: 2rem;
  /* color: var(--black-color); */
  color:var(--white-color);
  padding-bottom: 1.2rem;
}

.footer i {
  font-size: 2.1rem;
  cursor: pointer; 
  color: var(--gold-color);
  background-color: var(--black-color);
  padding: 0.3rem;
  border-radius: 20%;
}

.footer > div {
  grid-column: 2/8;
  margin-bottom: 1rem;
}
.footer > div.contacts {
  grid-column: 3/7;
}
.contacts{
  margin-left: 0px;
}
.contacts > div {
  margin-bottom: 1rem;
}

.contact-name {
  padding-bottom: 0.3rem;
}

.address-details {
  text-align: center;
  color: var(--black-color);
}

.map {
  width: 230px;
  height: 230px;
  border: none;
  border: 5px solid var(--black-color);
  border-radius: 12px;
  /* outline: 5px solid var(--black-color); */
  display: block;
  margin: 0 auto 1rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.bold {
  font-weight: 600;
}

.social-icons {
  color: var(--gold-color);
}

.social-icons.flex {
   justify-content: center; 
  align-items: center;
  gap: 35px;
}

.copyrights {
  width: 100%;
  height: 40px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

.copyright-symbol {
  font-size: 20px;
}

.copyrights .developer a {
  font-weight: 700;
  color: var(--gold-color);
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .map {
    width: 300px;
    height: 300px;
  }
  .team {
    padding-inline: 3rem;
  }
  .h{
    /* margin-right: -350px; */
    margin-right: 80px;
  }
  .sponsor {
    grid-column: 3/7;
    max-width: 500px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 770px) {
  /* .card {
    min-height: 40vh;
  } */
   .card {
    height: auto;
    min-height: 550px;
    width: 95vw;
    margin: 1rem auto;
    padding: 1.5rem;
  }

  .card-content {
    flex-direction: column;
    padding: 1.5rem;
  }

  .card-content p {
    font-size: 1rem;
    line-height: 1.4;
    text-indent: 1.5rem;
    text-align: center;
    margin-bottom: 5px;
  }
    .h{
    margin-left: -80px;
  }
  .card > .card-content {
    padding: 0 2rem;
  }
  .footer > div.contacts {
    grid-column: 4/6;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
 @media only screen and (min-width: 992px) {
  html {
    font-size: 18px;
  }

  .card {
    height: auto;
    min-height: 60vh;
  }
  .card > .card-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-block: 2rem;
  }

  /* department para */
  .card-content p {
    text-align: left;
    padding-right: 2rem;
  }


  .card-img {
    width: 40%;
  }
  .card-text {
    width: 60%;
  }
  #sympo-img {
    order: 2;
  }
  /* sympo para */
  #sympo-text p {
    padding-left: 2rem;
  }

  .footer > div.contacts {
    grid-column: 1/3;
  }
  .footer > div.address {
    grid-column: 3/7;
  }
  .footer > div.socials {
    grid-column: 7/9;
  }

  .footer {
    padding: 3rem 4rem;
  }
  .h{
    margin-left: -30px;
  }
  .map {
    width: 340px;
    height: 340px;
  }
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .footer {
    padding-inline: 10%;
  }
  .h{
  margin-left: -80px;
}
}

/* to hide navbar - when user is in events section */
/* Add this class to hide the menu */
.menu-hidden {
  display: none;
}

/* to fix about section text overflow  */
@media screen and (max-width: 600px) {
  .card {
    height: 600px;
  }
  .h{
    margin-left: -10px;
  }
  .card-content p {
    font-size: 1rem;
    line-height: 1.2;
    text-indent: 2rem;
  }
}
/* Mobile Small: up to 375px */
@media screen and (max-width: 330px) {
  .card-content p {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .card {
    height: 580px;
  }

  .logo {
    width: 120px;
  }

  .map {
    width: 200px;
    height: 200px;
  }

  h3, .heading {
    font-size: 2rem;
  }
}

/* Mobile Medium: 350px to 425px */
/* @media screen and (max-width: 425px) {
  .card-content p {
    font-size: 1rem;
  }

  .card {
    height: 600px;
  }

  .map {
    width: 220px;
    height: 220px;
  }
} */



/* 📱 Mobile View: 360px width */
@media screen and (max-width: 380px) {
  /* General font and spacing tweaks */
  body {
    font-size: 13px;
  }

  .card {
    height: 650px;
    width: 95vw;
    padding: 1rem;
  }

  .card-content {
    padding: 1rem;
    margin-bottom: 2px;
  }

  .card-content p {
    font-size: 0.95rem;
    line-height: 1.3;
    text-indent: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .card-img img {
    width: 70%;
    max-width: 250px;
  }

  .logo {
    width: 100px;
    margin-right: 0;
  }

  h1, h2, h3, h4 {
    font-size: 1.8rem;
  }

  .heading {
    font-size: 2rem;
  }

  .btn {
    padding: 8px 12px;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
  }

  .map {
    width: 200px;
    height: 200px;
  }

  .sponsor {
    grid-column: span 12;
    padding: 10px;
  }

  .swiper-slide {
    width: 260px;
  }

  .footer {
    padding: 1.5rem;
    text-align: center;
  }

  .footer h4 {
    font-size: 1.5rem;
  }

  .social-icons.flex {
    gap: 20px;
  }
}


/* Mobile Large: 426px to 599px */
 @media screen and (max-width: 599px) {
  .card {
    height: 690px;
  }

  .card-content p {
    font-size: 1.05rem;
  }

  .map {
    width: 260px;
    height: 260px;
  }
} 
