/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #151515;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffc451;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #312f2f;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.905);
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

.red-text h2,
.red-text p {
  color: #570101 !important;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  /* Default nav item color */
  #header .navmenu a {
    color: #770505;
    /* Main heading color */
    /* OrangeRed color for active item */
    font-weight: 500;
    transition: color 0.3s;
  }

  /* Hover effect */
  #header .navmenu a:hover {
    color: #055610;
    /* Gold color on hover, change as needed */
  }

  /* Active nav item (currently selected) */
  #header .navmenu a.active,
  #header .navmenu .active>a {
    color: #770505;
    /* Main heading color */
    /* OrangeRed color for active item */
    font-weight: 600;
  }


  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  body.scrolled #header .navmenu a {
    color: #ffffff;
    /* White, or use #ffd700 for yellow */
  }

  body.scrolled #header .navmenu a:hover {
    color: #ffd700;
    /* Gold on hover */
  }

  body.scrolled #header .navmenu a.active {
    color: #ffd700;
    /* Active item in gold */
  }

}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #400303;
    ;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  body.scrolled .mobile-nav-toggle {
    color: #ffd700;
    /* Active item in gold */
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(161, 168, 174, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }

}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #ffd700;
  font-size: 14px;
  position: relative;
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.copyright {
  padding: 10px 0;
  /* Reduce vertical space */
  color: rgb(72, 2, 2);
  /* Text color */
  font-size: 14px;
  /* Optional: smaller text */
}

.copyright .sitename {
  font-weight: 600;
}

.info-yellow-box {
  background-color: #ffd700;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.info-yellow-box i {
  color: #560909;
  font-size: 1.5rem;
  margin-right: 12px;
}

.info-item h3,
.info-item p {
  color: #560909;
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 58px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 20px 0 50px 0;
  /* reduced top padding from 120px to 60px */
  display: flex;
  align-items: flex-start;
  /* changed from center to flex-start */
  justify-content: center;
}

.ganesha-img {
  max-width: 350px;
  height: 300px;
  display: block;
  margin: 0 auto 15px auto;
  /* reduced bottom margin */
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 500;
  font-family: "Times New Roman", Times, serif;
  /* Change this to your desired font */
  color: #770505;
  /* Main heading color */
}

.hero h2 span {
  color: #FFD700;
  /* Highlighted word color (e.g., gold) */
}


.hero p {
  margin: 30px 0 0 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 3px double #a21010;
  /* Double border with color */
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -10px !important;
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #770505;
  /* Main heading color */
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

.hero .icon-box h3 a {
  color: #770505;
  /* Main heading color */
  transition: ease-in-out 0.3s;
  font-family: "Harrington", serif;
  /* Change this to your desired font */
}

.hero .icon-box:hover {
  border-color: #02370c;
}

.hero .icon-box:hover h3 a {
  color: #02370c;
  /* Highlighted word color (e.g., gold) */
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

}

/* Reduce space between heading and icon boxes */
.hero .row.mt-5.pt-3 {
  margin-top: 10px !important;
  /* previously was mt-5 = 3rem (48px) */
  padding-top: 0px !important;
  /* reduced padding */
}

/* Heading text color */
.hero-title {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--nav-font);
  margin-top: 10px !important;
  color: #ffd700;
  /* golden yellow (change to what you like) */
}

/* Subtitle text color */
.hero-subtitle {
  font-size: 23px;
  /* adjust as needed */
  font-family: 'Papyrus';
  color: #013612;
  letter-spacing: 1px;
  font-weight: 800;
}

.event-badge-ribbon {
  background: linear-gradient(135deg, #781540, #6f1533);
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  color: #fff;
  padding: 6px 20px;
  display: inline-block;
  margin-top: -20px !important;
  position: relative;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  clip-path: polygon(10px 0%,
      calc(100% - 10px) 0%,
      100% 50%,
      calc(100% - 10px) 100%,
      10px 100%,
      0% 50%);
  animation: fadeInBadge 0.6s ease-out;
}

.event-title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-in-out;
}

/* Countdown timer layout */
#countdown-timer {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

#countdown-timer .time-box {
  background: #ffffff;
  border: 1px solid #4e0303;
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 48px;
  text-align: center;
  animation: glowPulse 2s infinite ease-in-out;
}

.time-number {
  color: #4e0303;
  font-weight: bold;
  font-size: 14px;
  animation: tickIn 0.5s ease-in-out;
}

.time-label {
  font-size: 9px;
  color: #4e0303;
  opacity: 0.85;
}

/* Animations */
@keyframes fadeInBadge {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }

  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}




/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-img {
  height: 450px;
  /* or any value like 250px, 200px etc. */
  object-fit: cover;
  width: 100%;
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.ganesh-heading {
  color: rgb(59, 0, 0);
  padding: 8px;
  margin-bottom: 13px;
}

.ganesh-paragraph {
  color: rgb(59, 0, 0);
  padding: 10px;
  line-height: 1.4;
  margin-bottom: 13px;
  border-radius: 5px;
}



/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.donate-title {
  font-size: 1.25rem;
  /* Smaller than default h5 */
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.donate-subtitle {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0;
}

.donate-title,
.donate-subtitle {
  color: rgb(76, 3, 3);
}

.custom-modal {
  max-width: 600px;
}

.modal-content {
  padding: 15px 20px;
}

.icon-size {
  font-size: 0.9rem;
}

.modal-body .contact-row {
  display: flex;
  flex-wrap: nowrap;
  /* Prevent wrap */
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  flex-direction: row;
  overflow-x: auto;
  /* scroll if content overflows */
  white-space: nowrap;
  text-align: center;
}

/* UPI and Phone content styles */
.modal-body .contact-row span {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* Copy icon size */
.modal-body .contact-row i {
  font-size: 1.1rem;
}

/* Tighter spacing on small screens */
@media (max-width: 420px) {
  .modal-body .contact-row {
    font-size: 0.9rem;
    gap: 0.7rem;
  }

  .modal-body .contact-row i {
    font-size: 1rem;
  }
}

/* Base styles */
.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.contact-divider {
  font-weight: bold;
}

/* Hide UPI label on small screens */
@media (max-width: 375px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-divider {
    display: none;
  }

  .contact-item {
    justify-content: center;
    gap: 0.5rem;
  }

  /* Hide the UPI label text */
  .upi-label {
    display: none;
  }

  .contact-item:first-child {
    margin-bottom: 0.5rem;
  }
}

.modal-body .compact-text {
  margin-top: 0.25rem;
  /* Adjust this value as needed. 0.25rem is small. */
  margin-bottom: 0;
  /* Remove bottom margin to reduce space before the next element */
}

.modal-body .upi-label {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
  /* space between cards */
}

/* Desktop (≥ 769px) — 5 per row */
.team-member {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: calc(20% - 13.6px);
  text-align: center;
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-info {
  padding: 10px;
  font-family: 'Harrington';
  color: rgb(80, 1, 8);
  font-size: 20px;
}

.member-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Arial';
  color: rgb(80, 1, 8);
}

/* Tablet (≤ 768px) — 2 per row */
@media (max-width: 768px) {
  .team-member {
    width: calc(50% - 8.5px);
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


.gallery-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-hover-text {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

.gallery-image-wrapper {
  position: relative;
}

iframe {
  width: 100%;
  height: 80vh;
  border: none;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-image-wrapper img {
  display: block;
  transition: transform 0.4s ease;
}

.gallery-hover-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 1rem;
  text-align: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.gallery-image-wrapper:hover img {
  transform: scale(1.05);
}

.gallery-image-wrapper:hover .gallery-hover-text {
  opacity: 1;
}

#lightgallery-images,
#lightgallery-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.custom-heading1 {
  font-size: 30px;
  font-family: 'Harrington';
  color: #bd1a2f;
  letter-spacing: 0px;
  font-weight: bold;
  margin-top: 10px;
  /* add this */
  margin-bottom: 20px;
  /* add this */
}

/* Modal body full preview */
/* .modal-body {
  padding: 0;
} */

.modal-fullscreen-xl-down {
  max-width: 100%;
  width: 100%;
}

.lg-backdrop,
.lg-outer {
  z-index: 2000 !important;
}

@media (max-width: 767px) {
  .lg-image {
    width: 90% !important;
  }
}

/* Pooja form */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  /* Centers the form */
}

.form-control,
.form-check-input,
.form-check-label,
textarea {
  max-width: 100%;
}

.btn-submit,
.btn:hover {
  background-color: #ffd700;
  color: rgb(59, 0, 0);
  width: auto;
  padding: 8px 20px;
  font-weight: 500;
}

.slot-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.slot-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 120px;
  /* reduced size */
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease;
}

.slot-card:hover {
  transform: translateY(-3px);
}

.slot-card h5 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #333;
}

.slot-option {
  display: block;
  margin: 4px 0;
  padding: 6px;
  border: 1.5px solid #007bff;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f5faff;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.slot-option:hover {
  background-color: #eaf4ff;
}

.slot-option.selected {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.slot-option .icon {
  margin-right: 4px;
}

.count {
  display: block;
  font-size: 0.7rem;
  color: #555;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* events styles */
.schedule {
  .nav-tabs {
    a.active {
      background-color: red;
      color: white;
    }

    a {
      border: none;
      border-radius: 50px;
      font-weight: 600;
      background-color: #ffd700;
      color: #770505;
      padding: 10px 20px;
    }
  }

  .nav-tabs {
    text-align: center;
    margin: auto;
    border-bottom: 0;
    margin-bottom: 30px;
  }

  .nav-item {
    padding: 5px;
  }

  .schedule-item {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .sub-heading {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    margin: 0 auto 30px auto;
  }

  @media (min-width: 991px) {
    .schedule .sub-heading {
      width: 75%;
    }
  }

  .tab-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-scroll-container .nav-tabs {
    flex-wrap: nowrap;
    display: flex;
    gap: 8px;
    /* Optional: adds spacing between tabs */
  }

  .nav-tabs .nav-link {
    white-space: nowrap;
  }

  .event-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* Prevents zoom-in/stretching */
    display: block;
    margin: auto;
  }

  @media (max-width: 767.98px) {
    .event-image {
      width: 100%;
      max-height: 300px;
      /* Optional: limit height on small devices */
    }
  }
}