* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    
}
body{
       background: linear-gradient(to right,rgb(230, 113, 71),rgb(213, 57, 75));

}
/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 9999;
    color: white;
    font-size: 26px;
    font-weight: bold;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
}
.montage{
    text-decoration: none;
    color:white;
}

.nav-links a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-size: 16px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.nav-links a:hover {
    color: #ffd700;
}

/* REGISTER BUTTON */
.register-btn {
    border: 1px solid white;
    padding: 6px 14px;
    border-radius: 20px;
}

/* HERO SECTION */




/* DARK OVERLAY */

/* HERO TEXT */
.hero-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero-text h1 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 80px;
    letter-spacing: 4px;
}

.hero-text .date {
    font-size: 22px;
    margin-bottom: 20px;
}

/* CONTENT SECTIONS */
.content {
    padding: 100px 80px;
    font-size: 24px;
}
h1{
    padding: 15px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    align-items: center;
    color: white;
    
}
.para{
    width:100%;
    margin: 0 auto;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: x-large;
    color: white;
    padding-left: 100px;
    padding-right: 100px;
    text-align: left;

}
.events-section {
  width: 90%;
  margin: 60px auto;
}
.events-section p {
  color:white;
  line-height: 1.6;
  width: 100%;
  margin : 0 auto;
  text-align : left;
  padding-left: 100px;
  padding-right:100px;
  padding : 15px;
  font-size: 19px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.events-title {
  text-align: center;
  
  align-items: center;
  
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* 🔥 2 EVENTS IN ONE ROW */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}


/* Event Box */
.event-box {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  overflow: hidden;
}
.events-header h1{
  text-align: center;
}

/* Header */
.event-header {

  width: 100%;
  margin: 0;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  text-align: center;
  align-items: center;
  cursor: pointer;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.event-header img{
    width:80px;
    align-items: center;
    height:70px;
    object-fit: contain;
}

/* Content (hidden by default) */
.event-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 22px;
  background: transparent;
}
.events-grid{
    display: grid;
    grid-template-columns: repeat(2,1fs);
    align-items: start;
    gap: 30px;
}

/* Text */
.event-content p {

  line-height: 1.6;
  padding:5px;
  font-size: large;
  color: #fff;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Active dropdown */
.event-box.active .event-content {
  max-height: 310px;
}

.event-box.active .event-header span {
  transform: rotate(45deg);
}
.column {
  float: left;
  width: 33.33%;
  padding: 10px;
}
.column img:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgb(0,0,0,0.3);
}
.column img{
    border-radius: 20px;
    transition: tranform 0.4s ease;

}
/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.rules-container {
  width: 100%;
  height: 150%;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 🔥 4 in one row */
  gap: 30px;
  justify-items: center;
}
.flip-card {
  width: 290px;
  height: 220px;
  perspective: 1000px;
}

/* ===== Inner Flip Area ===== */
.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

/* Flip on hover */
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* ===== Front & Back ===== */
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== Front Style ===== */
.flip-front {
         background: linear-gradient(to right,rgb(230, 113, 71),rgb(213, 57, 75));


  color: white;
  
}

.flip-front p {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: garamond;
}

/* ===== Back Style ===== */
.flip-back {
  

  color: white;
  transform: rotateY(180deg);
}

.flip-back P {
  font-size: 18px;
  line-height: 1.5;
  font-family: garamond;
  font-weight: bold;
}
.rules-section {
  width: 70%;
  margin: 60px auto;
}

.rule-box {
  background: rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
}

.rule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
}

.rule-header h3 {
  margin: 0;
  font-size: 20px;
  color: white;
}

.toggle {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: white;
}

.rule-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.45s ease, padding 0.3s ease;
  color: white;
}

.rule-box.active .rule-content {
  max-height: 500px;
  padding: 20px 24px 24px;
}

.rule-box.active .toggle {
  transform: rotate(45deg);
}

.rule-content ul {
  padding-left: 18px;
}

.rule-content li {
  margin-bottom: 10px;
  line-height: 1.6;
  
}

.registration-section {
    padding: 60px 0;
  

    font-family: Arial, Helvetica, sans-serif;
}

.reg-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color:white;
}

.reg-card {
    width: 80%;
    margin: auto;

    border-radius: 25px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    color: white;
}

/* LEFT SIDE */
.reg-text {
    width: 55%;
}

.reg-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.reg-text p {
    font-size: 17px;
    line-height: 1.6;
}

.reg-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.reg-text ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

.cta-text {
    font-size: 18px;
    margin-top: 20px;
}

/* RIGHT SIDE (QR) */
.reg-qr {
    width: 35%;
    
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    color:white;
}

.reg-qr img {
    width: 180px;
    margin: 15px 0;
    align-items: center;
    
}

.scan-text {
    font-size: 20px;
    font-weight: bold;
}

.reg-qr span {
    font-size: 14px;
    color: #777;
}

