/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* Form container styling */
.cf-container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #b7b4b1;
    padding: 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Label styling */
.cf-container label {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Input fields styling */
.cf-container input[type="text"],
.cf-container input[type="email"],
.cf-container textarea {
    width: 100%;
    padding: 8px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    margin-bottom: 20px;
    outline: none;
}

/* Focus state for input fields */
.cf-container input[type="text"]:focus,
.cf-container input[type="email"]:focus,
.cf-container textarea:focus {
    background-color: white;
    color: #000;
    border-bottom: 1px solid white;
}

/* Textarea specific styling */
.cf-container textarea {
    height: 100px;
    resize: vertical;
}

/* Submit button styling */
.cf-container input[type="submit"] {
    background-color: #5c4d28;
    color: white;
    border: 1px solid white;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cf-container input[type="submit"]:hover {
    background-color: white;
    color: #5c4d28;
}

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

/* Column styling */
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, 
.cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}


/* @media (min-width: 769px) {
  .main-navigation .main-nav ul li { */
    /* Add border-top with 0 height initially */
/*     border-top: 0px solid #785E25; */
    /* Add transition for smooth animation */
/*     transition: border-top 0.3s ease, 
                background-color 0.3s ease, 
                color 0.2s ease; */
/*   } */
  
/*   .main-navigation .main-nav ul li:hover,
  .main-navigation .main-nav ul li.current-menu-item {
    border-top: 7px solid #785E25;
  } */
  
  /* Optional: Add subtle background change on hover for enhanced effect */
/*   .main-navigation .main-nav ul li:hover > a {
    transform: translateY(2px);
    transition: transform 0.3s ease;
  } */
/* } */

/* Responsive grid */
@media (min-width: 576px) {
    .cf-col-1 { -ms-flex: 0 0 8.333333%; flex: 0 0 8.333333%; max-width: 8.333333%; }
    .cf-col-2 { -ms-flex: 0 0 16.66667%; flex: 0 0 16.66667%; max-width: 16.66667%; }
    .cf-col-3 { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; }
    .cf-col-4 { -ms-flex: 0 0 33.33333%; flex: 0 0 33.33333%; max-width: 33.33333%; }
    .cf-col-5 { -ms-flex: 0 0 41.66667%; flex: 0 0 41.66667%; max-width: 41.66667%; }
    .cf-col-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
    .cf-col-7 { -ms-flex: 0 0 58.33333%; flex: 0 0 58.33333%; max-width: 58.33333%; }
    .cf-col-8 { -ms-flex: 0 0 66.66667%; flex: 0 0 66.66667%; max-width: 66.66667%; }
    .cf-col-9 { -ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%; }
    .cf-col-10 { -ms-flex: 0 0 83.33333%; flex: 0 0 83.33333%; max-width: 83.33333%; }
    .cf-col-11 { -ms-flex: 0 0 91.66667%; flex: 0 0 91.66667%; max-width: 91.66667%; }
    .cf-col-12 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
}




.ct-events {
  position: relative;
  padding: 0 80px;
}

.ct-events:before,
.ct-events:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 153px;
  height: 1000px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ct-events:before {
  left: -115px;
  background-image: url('https://mahacharyavidyalaya.org/wp-content/uploads/2025/02/pngtree-decorative-swirl-divider-ornate-vintage-png-image_6349788-2.png');
}

.ct-events:after {
  right: -115px;
  background-image: url('https://mahacharyavidyalaya.org/wp-content/uploads/2025/02/pngtree-decorative-swirl-divider-ornate-vintage-png-image_6349788-1.png');
}





.jet-abaf-product-check-in-out .date-picker-wrapper {
	position: relative !important;
}

.swal2-container.swal2-top-end>.swal2-popup, .swal2-container.swal2-top-right>.swal2-popup {
    grid-column: 3;
    align-self: self-end;
    justify-self: center;
}


.ct-row-gap .slick-slide {
  margin-right: 20px; /* Adjust gap size here */
}

/* Remove margin on the last visible slide to prevent overflow */
.ct-row-gap .slick-track {
  display: flex !important;
}


.slick-arrow {
  display: block !important;
  opacity: 1 !important;
  z-index: 1000;
}

.slick-dots li button:before {
    font-size: 12px;
}


.cf-newcol input[type="submit"] {
    background: #5c4d28;
    margin-top: 15px;
    font-size: 25px;
    padding: 10px 50px;
font-weight: 400;
line-height: 100%;
letter-spacing: 0%;
text-align: justify;
vertical-align: middle;

}



.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}


/* Enhanced Horoscope Form Styling */
.cf-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, #75231c 0%, #d96d64 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

.cf-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  z-index: 1;
}

.cf-container > * {
  position: relative;
  z-index: 2;
}

/* Header styling */
.cf-container .cf-col-12:first-child p {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid layout */
/* .cf-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
} */

/* .cf-col-12 { grid-column: span 12; }
.cf-col-6 { grid-column: span 6; }
.cf-col-4 { grid-column: span 4; }
 */
/* @media (max-width: 768px) {
  .cf-col-6, .cf-col-4 {
    grid-column: span 12;
  }
  .cf-container {
    padding: 1.5rem;
    gap: 1rem;
  }
} */

/* Section headers */
.cf-container .cf-col-12 p:not(:first-child):not(:last-child) {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ct-form-title p {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #c9b119 !important;
}

/* Labels */
.cf-container p {
  margin-bottom: 1rem;
  color: white;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Input fields */
.cf-container input[type="text"],
.cf-container input[type="tel"],
.cf-container textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cf-container input[type="text"]:focus,
.cf-container input[type="tel"]:focus,
.cf-container textarea:focus {
  outline: none;
  border-color: #ffd700;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Textarea specific */
.cf-container textarea {
  resize: vertical;
  min-height: 120px;
}

/* Radio buttons */
.cf-container .wpcf7-radio {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cf-container .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.cf-container .wpcf7-list-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
}

.cf-container .wpcf7-list-item input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.cf-container .wpcf7-list-item input[type="radio"]:checked {
  border-color: #ffd700;
  background: #ffd700;
}

.cf-container .wpcf7-list-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.cf-container .wpcf7-list-item-label {
  color: white;
  font-weight: 500;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Checkboxes */
.cf-container .wpcf7-checkbox {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cf-container .wpcf7-checkbox .wpcf7-list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.cf-container .wpcf7-checkbox .wpcf7-list-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
}

.cf-container .wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  margin-right: 0.5rem;
}

.cf-container .wpcf7-checkbox input[type="checkbox"]:checked {
  border-color: #ffd700;
  background: #ffd700;
}

.cf-container .wpcf7-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

/* Payment options */
.cf-container input[name="booklet"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin-right: 0.75rem;
}

.cf-container input[name="booklet"]:checked {
  border-color: #ffd700;
  background: #ffd700;
}

.cf-container input[name="booklet"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.cf-container label {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 500;
  cursor: pointer;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cf-container label:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
}

/* Submit button */
.cf-container .wpcf7-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #191d31, #75231c);
  color: #333;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.cf-container .wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 215, 0, 0.4);
  background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.cf-container .wpcf7-submit:active {
  transform: translateY(-1px);
}

/* Error messages */
.cf-container .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border-left: 4px solid #ff6b6b;
  backdrop-filter: blur(10px);
}

/* Invalid field styling */
.cf-container .wpcf7-not-valid {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.1) !important;
}

/* Spinner */
.cf-container .wpcf7-spinner {
  margin-left: 1rem;
}

/* Form control wrap */
.cf-container .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.5rem;
}

/* Acceptance checkbox styling */
.cf-container .wpcf7-acceptance .wpcf7-list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}