/*
Theme Name: My Custom Theme
Theme URI: http://example.com/my-custom-theme
Author: Your Name
Author URI: http://example.com
Description: A custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

/* fonts  */
/* Poppins */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Lato:wght@100;300;400;700;900&family=Montserrat:wght@100&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");
/* Montserrat */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Lato:wght@100;300;400;700;900&family=Montserrat:ital,wght@0,100..900;1,100..900&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");

/* Cormorant */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Lato:wght@100;300;400;700;900&family=Montserrat:ital,wght@0,100..900;1,100..900&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");
/* Basic CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
}

/* Remove bootstrap default */
.accordion-button {
  background-color: transparent !important;
  color: #000000 !important;
}
.accordion-button:focus {
  box-shadow: none !important;
  color: #000 !important;
  border: #000 !important;
}
.accordion-button:not(.collapsed) {
  color: #000000 !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-icon) !important;
}
/* Reset for other common elements */
ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Define custom properties for colors */
:root {
  --color-primary: #1b588c;
  --color-secondary: #f7f7f2;
  --color-tertiary: #b7cece;
  --color-quaternary: #baa3d3;
  --color-highlight: #ffd700;
  --color-background: #fff;
}

/* Custom styles */
body {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

h1 {
  color: var(--color-highlight);
}

/* Section define start*/

section {
  padding: 1rem 0;
}

@media screen and (min-width: 640px) {
  section {
    padding: 1rem 0;
  }
}

@media screen and (min-width: 768px) {
  section {
    padding: 2rem 0;
  }
}
@media screen and (min-width: 1536px) {
  section {
    padding: 3rem 0;
  }
}

/* remove section top padding */

section .removeTopPadding {
  margin-top: -1rem !important;
}

@media screen and (min-width: 640px) {
  section .removeTopPadding {
    margin-top: -1rem !important;
  }
}

@media screen and (min-width: 768px) {
  section .removeTopPadding {
    margin-top: -2rem !important;
  }
}
@media screen and (min-width: 1536px) {
  section .removeTopPadding {
    margin-top: -1rem !important;
  }
}

/* remove section Bottom padding */

section .removeBottomPadding {
  margin-bottom: -1rem !important;
}

@media screen and (min-width: 640px) {
  section .removeBottomPadding {
    margin-bottom: -1rem !important;
  }
}

@media screen and (min-width: 768px) {
  section .removeBottomPadding {
    margin-bottom: -2rem !important;
  }
}
@media screen and (min-width: 1536px) {
  section .removeBottomPadding {
    margin-bottom: -3rem !important;
  }
}

.button-primary {
  background-color: #fff;
  color: #000;
  /* border-radius: 4px; */
  border: 1px solid var(--color-primary);
  padding: 0.8rem 1.4rem 0.9rem;
}
.button-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  /* border-radius: 4px; */
  border: 1px solid var(--color-primary);
  padding: 0.8rem 1.4rem 0.9rem;
}

/* Section define end*/

.content-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.text-centered {
  text-align: center;
}

/* container css start */
/* Center the container horizontally */

.container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

@media screen and (min-width: 640px) {
  .container {
    max-width: 576px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 992px !important;
  }
}

@media screen and (min-width: 1280px) {
  .container {
    max-width: 1090px !important;
  }
}
/* @media screen and (min-width: 1440px) {
  .container {
    max-width: 1400px !important;
  }
} */
@media screen and (min-width: 1600px) {
  .container {
    max-width: 1090px !important;
  }
}

.imageContainer {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.imageStyle {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.certificates-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.about-images {
  height: 22rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 span,
h2 span {
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
  font-style: normal;
  word-spacing: 10px;
  color: #000;
  /* padding: 0;
  margin: 0 ; */
}

h1 span,
h2 span {
  color: var(--color-primary);
}
.styled-hr {
  border: none;
  height: 6px;
  color: var(--color-primary);
  background-color: var(--color-primary);
  width: 8rem;
  opacity: 1;
}
.font-Cormorant {
  font-family: "Cormorant";
  color: var(--color-primary);
  font-weight: 600;
  font-style: normal;
}
p,
ul {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
}

ul {
  padding: 0;
  margin: 0;
}

/* Navbar styles */
/* .nav-bar{
  background-color: red !important;
} */

.nav-container {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-primary);
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
  gap: 1rem;
}

.navbar-expand-lg .navbar-nav {
  gap: 0.3rem;
}

@media screen and (min-width: 640px) {
  .navbar-expand-lg .navbar-nav {
    gap: 2rem;
  }
}

#navbarNav .nav-item a {
  color: #000;
}

#navbarNav .nav-item a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

.navbarNav ul {
  display: flex;
  justify-content: space-between;
  gap: 2rem !important;
}
.navbarNav a {
  color: #000;
  text-decoration: none;
}

.menu-primary-menu-container a:hover {
  color: #000;
  text-decoration: none;
  text-decoration: underline;
}

/* Underline the active menu item link only */

.nav {
  display: flex !important;
  justify-content: space-between !important;
  gap: 2rem !important;
}

.nav .current-menu-item a {
  text-decoration: underline;
}
.nav a:hover {
  text-decoration: underline !important;
  color: #000;
}

/* Optional: Remove underline from non-active links */
.nav a {
  text-decoration: none;
  color: #000 !important;
  font-weight: 400 !important;
  font-size: 1.1rem;
}

/* .nav-items-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.nav-container {
  padding: 3rem 0;
} */
/* #navbarNav {
  display: flex;
  justify-content: center;
  align-items: center;
} */

/* .navbar-brand {
  color: var(--color-highlight);
}

.nav-link {
  color: var(--color-secondary);
}
.navbar-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
} */

/* .nav-container .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-items,
ul {
  padding: 0;
  margin: 0;
}
.nav-items-container .nav-item a {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
} */
/* .nav-items-container .nav-item a:hover {
  padding: 0.5rem 0.8rem;
  background-color: var(--color-primary);
  color: var(--color-background);
  cursor: pointer;
  border-radius: 8px;
} */
/* .nav-items-container .nav-item active {
  padding: 0.5rem 0.8rem;
  background-color: var(--color-primary);
  color: var(--color-background);
  cursor: pointer;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--color-highlight);
} */

/* nav slide view */
/* body {
  padding-top: 50px;
  position: relative;
} */

.section-header {
  max-width: 656px;
  margin: auto;
}
.section-header h1 {
  margin-top: 1rem;
}

.section-header span {
  color: var(--color-primary);
}
/* Footer styles */
footer {
  background-color: var(--color-background);
  /* color: var(--color-secondary); */
}

footer a {
  color: var(--color-highlight);
}

footer a:hover {
  text-decoration: none;
  color: var(--color-quaternary);
}
footer .footer-list {
  /* text-align: center; */
}
#footer .footer-list a {
  text-decoration: none;
  color: var(--color-primary);
}
#footer .footer-list a:hover {
  text-decoration: underline;
}

footer .footer-list p {
  color: var(--color-primary);
}
footer .footer-list p:hover {
  text-decoration: underline;
  cursor: pointer;
}
#footer .contact-list {
  display: flex !important;
  gap: 1rem !important;
}

#footer .footer-list ul {
  padding: 0;
}
#footer .footer-list ul li {
  margin-bottom: 1rem;
}
#footer .contact-list .mail {
  color: #000 !important;
  text-decoration: none;
}

#footer .contact-list .mail:hover {
  text-decoration: underline !important;
}
#footer .contact-list .fa {
  font-size: 1.1rem;
  margin-top: 4px;
}

footer .logo {
  width: 165px;
  height: 60px;
  object-fit: cover;
}

footer .first-section {
  max-width: 400px;
}

footer .social-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
}
footer .first-section h5 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .cover-section .row {
    display: flex;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .about-section {
    margin: 2rem 0;
  }
  .about-section .row {
    display: flex;
    gap: 1rem;
  }
}
.cover-section .left-section {
  margin: auto;
}

.cover-section .right-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
}

.cover-section-container .right-section span {
  color: var(--color-primary);
}
.btn {
  background-color: var(--color-primary);
}

.justifyText {
  text-align: justify;
}

/* what we do  */
.what-we-do-section .details-container {
  /* background-color: var(--color-secondary); */
  padding: 1rem 0.5rem 0;
  border-radius: 1rem;
  /* margin-bottom: 1.3rem; */
}

.what-we-do-section .grid-container img {
  /* height: 3rem;
  width: 3rem;
  object-fit: cover;
  margin-bottom: 0.8rem;
  align-self: flex-start; */
  height: 12rem;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}
.what-we-do-section .imageWrapper {
  border-radius: 1rem;
  overflow: hidden;
}
.what-we-do-section .grid-container {
  padding: 0.5rem 0.5rem 1rem;
  background-color: var(--color-secondary);
  border-radius: 1rem;
  height: 100%;
}
.what-we-do-section .details-container p {
  text-align: justify;
}

.our-classes-section .card-container {
  height: 100%;
  width: 100%;
}

.our-classes-section .imageWrapper {
  overflow: hidden;
  border-radius: 1rem;
}

.our-classes-section .card-container-new-events {
  position: relative;
  border: 1px solid var(--color-primary);
  padding: 4px;
}
.our-classes-section .card-container-new-events img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.our-classes-section .card-container-new-events .top-bar {
  position: absolute;
  top: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  color: var(--color-secondary);
}
.our-classes-section .card-container-new-events .top-bar img {
  height: 2rem;
  width: 2rem;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
}

.our-classes-section .card-container-new-events .details {
  position: absolute;
  bottom: 0;
  color: var(--color-secondary);
  padding: 2rem 1.5rem;
}

.our-classes-section .card-container-new-events h2 {
  color: var(--color-secondary);
}

.our-classes-section .classes-container {
  gap: "2rem";
}

/* past events */
.our-classes-section .card-container-past-events {
  position: relative;
  border-radius: 1rem;
  /* overflow: hidden; */
  overflow: visible;
  border: 1px solid var(--color-primary);
  padding: 4px;
}
.our-classes-section .card-container-past-events img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 1rem;
}

.our-classes-section .card-container-past-events .details {
  color: var(--color-secondary);
  padding: 2rem 1.5rem 0.5rem;
  position: relative;
}

.our-classes-section .card-container-past-events h2 {
  color: #000 !important;
}

.our-classes-section .card-container-past-events .details img {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
}

.our-classes-section .card-container-past-events .card-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--color-primary);
}

.our-classes-section .card-container-past-events p {
  color: var(--color-primary);
}

/* carousel */
.carousel {
  width: 100%;
  margin: 0px auto;
}

.slick-slide {
  margin: 10px;
}

.slick-slide img {
  width: 100%;
}

.slick-prev,
.slick-next {
  background: #000;
  border-radius: 15px;
  border-color: transparent;
}

.carousel .card {
  position: relative;
  border-radius: 15px;
  width: 20%;
  background-color: transparent;
}

.carousel .card-header {
  padding: 0;
  max-height: 330px;
}

.carousel .card-header img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.8rem;
}
.carousel .card-details {
  padding: 1rem;
}
.carousel .footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1rem;
}

.carousel .footer img {
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
  margin-right: 1rem;
}

.carousel .slick-next {
  right: 120px;
}
.carousel .slick-prev {
  display: none !important;
}
.carousel .slick-prev,
.carousel .slick-next {
  background: none;
  z-index: 999;
}
.carousel .slick-prev:before,
.carousel .slick-next:before {
  background-color: transparent;
  border: 2px dashed white;
  border-radius: 100%;
  padding: 20px 25px;
}
.carousel .slick-next::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #fff;
}
.carousel .slick-prev::before {
  content: "\f053";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #fff;
}
.carousel .slick-dots li button:before {
  background-color: #fff;
  content: "";
  width: 60px;
  height: 10px;
  opacity: 0.25;
}
.carousel .slick-dots li.slick-active button:before {
  background-color: #fff;
  content: "";
  opacity: 1;
  width: 60px;
  height: 10px;
}
.carousel .card-content {
  color: #000 !important;
}

.carousel .card-body {
  position: block;
  background: transparent;
  bottom: 0;
  width: 100%;
  vertical-align: top;
}

.card-content {
  text-align: left;
  color: #333;
}

.card-text {
  font-size: 14px;
  font-weight: 300;
}

.carousel .slick-list.draggable {
  padding: 0 100px 0 0 !important;
}

.blogs-section .card-container {
  padding: 4px 4px 0;
  border: 1px solid var(--color-primary);
  border-radius: 0.8rem;
}
.blogs-section img {
  height: 14rem;
  width: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

.blogs-section .date {
  margin-top: 0.6rem;
}

.blogs-section .read-more {
  color: var(--color-primary);
  font-weight: 600 !important;
  cursor: pointer;
}

.title-read-more {
  text-decoration: none !important;
  cursor: pointer;
  color: #000;
}

.title-read-more:hover {
  /* text-decoration: underline !important; */
  color: var(--color-primary) !important;
}

.read-more {
  text-decoration: none;
  cursor: pointer;
}

.read-more:hover {
  text-decoration: underline;
}

.blogs-section .details .date-title {
  font-weight: 600 !important;
  padding-right: 0.8rem;
}
.blogs-section .details {
  padding: 8px 14px 12px;
}

/* about page */
.about .first-images-container {
  height: 20rem;
}
.about img {
  height: 30rem;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.about-section {
  position: relative;
}
.about-section .about-right-content {
  display: flex;
  flex-direction: column;
}

.link-anchor {
  text-decoration: none;
  color: #000;
  height: 100%;
  width: 100%;
  padding: 0.8rem 1.4rem 0.9rem;
  margin: 0;
  border: 1px solid var(--color-primary);
  width: fit-content;
}
.link-anchor:hover {
  text-decoration: none;
  color: #fff;
  background-color: var(--color-primary);
}

/* Footer section */
/* footer .sub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

#footer .social-links a {
  text-decoration: none;
  color: #000;
}

#footer .social-links a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

#footer .sub-footer .policies ul {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.sub-footer .policies a {
  text-decoration: none;
  color: #000;
}
.sub-footer .policies a:hover {
  text-decoration: underline;
}

#footer .first-section input {
  padding: 1rem;
  border: none;
  border-bottom: 1px solid var(--color-secondary);
}

#footer .first-section input:focus {
  border: none;
  border-bottom: 1px solid var(--color-secondary);
}

.more-blogs-section .contents {
  display: flex;
  flex-direction: column;
  gap: 8em;
}

.more-blogs-section img {
  height: 586px;
  max-width: 453px;
  object-fit: contain;
}

.more-blogs-section .content-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.blog-post-section .blog-content {
  text-align: justify;
}

/* Faq section */
/* .faqs-section .accordion-body {
  padding-top: 0;
} */

.faqs-section .accordion {
  --bs-accordion-border-radius: 0;
}

.faqs-section .accordion-item {
  border: solid 1.8px var(--color-primary);
  border-radius: none;
  margin-bottom: 1.5rem;
}

.faqs-section .accordion-body {
  padding-top: 0;
}
.accordion {
  --bs-accordion-border-color: #fff;
}

/* contact form  */
.map-container {
  position: sticky;
  top: 2rem;
  overflow: hidden;

  height: 90%;
  width: "100%";
  margin-top: "3rem";
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  border: 0;
}
.contact-form-section {
  position: relative;
}

.contact-form {
  margin-top: 20px;
}

.contact-form .form-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Main Form Wrapper */
.gform_wrapper {
  background-color: #f9f9f9; /* Background color */
  padding: 20px; /* Padding around the form */
  border: 1px solid #ddd; /* Border around the form */
  border-radius: 10px; /* Rounded corners */
  max-width: 600px; /* Maximum width of the form */
  margin: 0 auto; /* Center the form */
}

/* Form Labels */
.gform_wrapper .gfield_label {
  font-size: 16px; /* Font size */
  color: #333; /* Label color */
  margin-bottom: 10px; /* Space below the label */
}

/* Input Fields */
.gform_wrapper .gfield--type-text input,
.gform_wrapper .ginput_container_phone input,
.gform_wrapper .ginput_container_email input,
.gform_wrapper .ginput_container_date input,
.gform_wrapper .ginput_container_time input,
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
  width: 100%; /* Make input fields full width */
  padding: 10px; /* Padding inside input fields */
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px; /* Rounded corners */
  font-size: 14px; /* Font size */
  margin-bottom: 20px; /* Space below the input fields */
}
.gchoice {
  padding: 0;
  margin: 0;
}

.gfield--type-radio .gfield_label {
  margin-top: 2rem;
}

.gfield--type-textarea .gfield_label {
  margin-top: 2rem;
}
.ginput_container_date .screen-reader-text {
  display: none;
}
.ginput_container_radio {
  margin-top: 0;
  padding-top: 0;
}
/* Input Fields on Focus */
.gform_wrapper .ginput_container input:focus,
.gform_wrapper .ginput_container textarea:focus,
.gform_wrapper .ginput_container select:focus {
  border-color: #0073aa; /* Border color on focus */
  outline: none; /* Remove the default outline */
}

/* Radio Buttons */
/*  */

/* Radio Button Selected State */
.gform_wrapper .gfield_radio input[type="radio"]:checked {
  background-color: #0073aa; /* Background color for selected radio button */
  border-color: #0073aa; /* Border color for selected radio button */
}

/* Time Selection Fields */
.gform_wrapper .gfield_time {
  display: flex;
  gap: 10px; /* Space between hour and minute dropdowns */
  align-items: center; /* Vertically align time selection dropdowns */
}

.gform_wrapper .gfield_time select {
  width: auto; /* Adjust width to fit content */
  padding: 10px; /* Padding inside dropdowns */
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px; /* Rounded corners */
  font-size: 14px; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
}

.gform_wrapper .gfield_time select:focus {
  border-color: #0073aa; /* Border color on focus */
  outline: none; /* Remove the default outline */
}

/* Submit Button */
.gform_wrapper .gform_footer input[type="submit"] {
  background-color: #0073aa; /* Button background color */
  color: #ffffff; /* Button text color */
  padding: 10px 20px; /* Padding inside the button */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth background color transition */
  margin-top: 2rem;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
  background-color: #005f8a; /* Darker background color on hover */
}

/* Error Messages */
.gform_wrapper .validation_message {
  color: #d9534f; /* Red color for error messages */
  font-weight: bold; /* Bold text for error messages */
  margin-bottom: 15px; /* Space below error messages */
}

/* Success Message */
.gform_wrapper .gform_confirmation_message {
  color: #28a745; /* Green color for success message */
  font-size: 18px; /* Font size */
  font-weight: bold; /* Bold text for success message */
  margin-top: 20px; /* Space above success message */
}

.gform-grid-row {
  display: flex;
  gap: 1rem;
}

.ginput_container_time .screen-reader-text {
  display: none;
}

.certificate-logo-wrapper {
  height: 6rem;
  transition: transform 0.3s ease-in-out;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.certificate-logo-wrapper:hover {
  transform: scale(1.05);
}

/* image animation */
.overflow-hidden {
  overflow: hidden;
}
.img-container {
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.img-transform {
  transition: transform 0.3s ease-in-out;
}
.img-transform:hover {
  transform: scale(1.1);
}

/* animations */
/* Common hidden state */
.animate-left,
.animate-right,
.animate-upward {
  opacity: 0;
  transition: all 1s ease-out;
}

/* When visible, trigger animation */
.animate-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-upward.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Initial off-screen positions */
.animate-left {
  transform: translateX(-50px);
}

.animate-right {
  transform: translateX(50px);
}

.animate-upward {
  transform: translateY(50px);
}

.card-img-wrapper {
  overflow: hidden;
  border-radius: 1rem;
}

#scrollToTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scrollToTop:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  filter: brightness(80%);
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Hide on mobile screens (Bootstrap's d-none d-md-block classes handle this too) */
