/**
* Template Name: Active
* Template URL: https://bootstrapmade.com/active-bootstrap-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:  font-family: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* --heading-font: "Roboto",  sans-serif; */
  --heading-font: "Cormorant Garamond";
  --nav-font: "Cormorant Garamond";
}

/* 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: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #F0984C; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2d5e9a; /* 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: #ffffff; /* 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: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #2d5e9a; /* 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: #2d5e9a; /* 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: #f3f4f4;
  --surface-color: #ffffff;
}

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

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

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

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}


.toggle-container {
  position: fixed;
  top: 5vh;
  right: 20px;
  transition: 300ms ease-in-out;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;  /* Reduced from 60px */
  height: 20px;  /* Reduced from 34px */
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;  /* Reduced from 26px */
  width: 14px;   /* Reduced from 26px */
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(18px); /* Adjusted for smaller size */
}
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);
}

.section_heading{
  padding-left: 8vw;
  padding-bottom: 10vh;

}

/* em{
  text-decoration: underline --accent-color;
} */

/* 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.3s ease-in-out;
  z-index: 997;
  position: fixed;
  overflow-x: clip;
    top: 0;
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 0 10px rgba(58, 58, 58, 0.1);
}

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

.header .logo img {
  max-height: 90px;
  margin-right: 8px;
  max-width: 250px;
  transition: all 0.3s ease-in-out;
  padding-bottom: 2%;
}


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


/*--------------------------------------------------------------
# shriking effect
--------------------------------------------------------------*/

.scrolled .header{
  height: 10vh;
  
}

.scrolled .toggle-container{
  top: 3.5vh;
}

.scrolled .logo img {
  max-width: 170px; /* Shrink logo */
  max-height: 65px;
  transform: translateX(-10%);
}

.scrolled .logo h1 {
  font-size: 1.5rem; /* Shrink font */
}


.scrolled .navmenu {
  transform: translateX(-10%);
  padding-bottom: 25px;
}

.scrolled .social-icons {
  pointer-events: none;
}

.scrolled .container-inline .social-icons li {
  transform: translateY(-50px);
  /* opacity: 0;  */
  pointer-events: none; /* Disable interaction */
}

.scrolled .search-container {
  transform: translateY(20px);
}







/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {

  .container-inline #social-search{
    display: inline-block;
    margin-top: 2%;
    

  }
  .search-container {
    display: flex;
    margin-left: 15%;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #ccc;
    border-radius: 25px;
    overflow: hidden;
    height: 35px;
    max-width: 300px;
    padding-left:10px;
    padding-right: 0px;
    transition: all 0.3s ease-in-out;
    
    }
.search-container ::-webkit-input-placeholder {

  text-align: center;
  padding:0;
 }

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding-left: 15px;
    height: 100%;
    max-width: 300px;
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    /* text-align: center; */
}

.search-container button {
    background: #007bff;
    border: none;
    /* padding-left: 10px; */
    /* padding-top:1px;  */
    cursor: pointer;
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.search-container button i {
    color: white;
    font-size: 16px;
    line-height: 1;
    z-index: 1000;
}
.search-container form {
  display: flex;
  align-items: center; /* Align input & button inside form */
  width: 100%;
}

  .container-inline{
    display: inline;
    padding-top: 3px;
  }
  /* .container-inline .widget{
    height: 0;
  } */
  .container-inline .social-icons li {
    display: inline-block;
    margin-left: 10px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
  }

  #social-search{
    float: right;
    height: 35px;
    /* margin-left:60% ; */
    padding-right: 35px;
    padding-top: 0;
    margin-top: 0;
  }

  .container-inline .social-icons li a {

    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border-radius: 50%;
    /* background: color-mix(in srgb, var(--default-color), transparent 90%); */
    transition: all 0.3s ease-in-out;
  }

  .container-inline .social-icons li a span {
    color: color-mix(in srgb, var(--heading-color), transparent 0%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s all ease-in-out;
  }

  .container-inline .social-icons li a:hover {
    background: var(--accent-color);
  }
  
  .container-inline .social-icons li a:hover span {
    color: var(--contrast-color);
  }
  
  .container-inline .social-icons li:first-child a {
    padding-left: 0;
  }

  .navmenu {
    padding: 20px;
    padding-top:0;
    transition: all 0.3s ease-in-out;
    min-width: 45vw;
  }


  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    transition: all 0.3s ease-in-out;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 5px 25px;
    font-size: 20px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
  }

  .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);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}




/* Mobile Styles */
/* Mobile Styles */
/* Mobile Styles */
@media (max-width: 1199px) {

  .header {
      height: 10vh;
      flex-direction: column;
      align-items: flex-start;
      padding: 10px;
      position: relative;
      background-color: var(--background-color); /* Ensure background is set */
      top: 0;
      width: 100%;
  }

  .header .logo {
      width: 100%;
      text-align: left;
      display: block; /* Ensure logo is always visible */
  }

  .header .logo img {
      max-width: 200px;
      max-height: 70px;
      padding-bottom: 0;
      padding: 5px 10px;
  }

  .container-inline #navmenu-social {
      width: 100%;
      display: none; /* Hide container-inline initially */
  }

  .container-inline #social-search{
    display: none;
  }

  #navmenu-social {
      width: 100%;
      display: none; /* Hide social/search initially */
      margin-left: 0;
  }

    .navmenu {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: var(--background-color, #fff);
      position: fixed;
      left: 0;
      top:0;
      /* min-width: 200px !important; */
      width: 100vw;
      height: 100vh;
      z-index: 1000;
      padding: 20px;
      box-shadow: none;
      visibility: hidden;
      opacity: 1; /* Start with 0 opacity for transition */
      transition: opacity 0.2s ease-in-out, visibility 0s ease-in-out 0.2s; /* Fast, smooth transition */
    }




    .navmenu ul {
    display: block;
      flex-direction: column;
      align-items: center;
      visibility: inherit;
      text-align: center;
  }

  .navmenu li:first-child {
    margin-top: 20vh; /* Remove bottom margin from the last item */
  }

  .navmenu li {
      width: 100%;
      margin-bottom: 20px;
  }

  .navmenu a,
  .navmenu a:focus {
      padding: 10px 15px;
      display: block;
  }

  .navmenu .dropdown ul {
      position: static;
      display: none;
      opacity: 1;
      visibility: visible;
      box-shadow: none;
      background: transparent;
      padding: 0;
  }

  .navmenu .dropdown:hover>ul,
  .navmenu .dropdown.active>ul {
      display: block;
  }

  .navmenu .dropdown .dropdown ul {
      left: 0;
  }

  .navmenu .dropdown .dropdown:hover>ul,
  .navmenu .dropdown .dropdown.active>ul {
      left: 0;
  }

  .mobile-nav-toggle {
    display: block !important; /* Ensure it's always visible */
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1100;
    color: var(--default-color); /*Ensure the color is set.*/
  }

  .navmenu.active{
    display: flex !important;
    visibility: visible !important;
    opacity: 1;
    transition: opacity 0.2s ease-in-out, visibility 0s ease-in-out 0s; /* Fast, smooth transition */
  }
  
  .container-inline.active,
  .container-inline #social-search.active,
  #navmenu-social.active {
      display: none; /* Show menu, social, search when active */
      z-index: -1;
  }

  .toggle-container {
      position: absolute;
      top: 10px;
      right: 45px;
      z-index: 1100;
  }

  .scrolled .toggle-container {
      top: 10px;
  }

  .scrolled .logo img {
      transform: translateX(0%);
  }

  /* Additional fixes for potential conflicts */
  .header *,
  .header {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .header * {
    list-style: none;
    text-decoration: none;
  }
}


#navmenu-social{
  margin-left:10vw;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--accent-color); /* Light background */
  padding: 15px 0;
  font-size: 14px;
}


.footer .nav-menu{
  width: 60%;
  float: left;
  padding-bottom: 30px;
  li a{
    color: #f5f5f5;
  }
}
/* Flex container for inline menu */
.footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Navigation Links */
.footer .list-inline {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px; /* Adjust spacing */
  padding: 0;
  margin: 0;
}

.footer .list-inline-item {
  margin: 0; /* Remove extra margins */
  white-space: nowrap; /* Prevent wrapping */
}

/* Footer Links */
.footer .list-inline-item a {
  color: #333;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s ease-in-out;
}

.footer .list-inline-item a:hover {
  color: #007bff; /* Bootstrap primary color */
}

/* Social Icons */
.footer .list-inline-item i {
  font-size: 16px;
  margin-right: 5px;
}

/* Locate Us Section */
.footer .locate {

  padding-top: 10px;
  width: 40% ;
  text-align: right;
  color: #f5f5f5;
}

.footer .locate p {
  font-family: var(--heading-font);
  margin: 0;
  font-size: 13px;
  color: #f5f5f5;
}

/* Footer Social Links */
.footer-social {
  margin-top: 10px;
  text-align: right;
}

.footer-social .list-inline {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-social .list-inline-item {
  list-style: none;
}

.footer-social .list-inline-item a {
  display: inline-block;
  font-size: 18px;
  color: #f5f5f5;
  transition: color 0.3s ease-in-out;
}

.footer-social .list-inline-item a:hover {
  color: var(--heading-color); /* Change to match your theme */
}

/* Copyright Text */
.footer .text-center {
  font-size: 13px;
  color: #f5f5f5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer .row {
    flex-direction: column;
    text-align: center;
  }

  .footer .list-inline {
    flex-wrap: wrap;
  }
  .footer .nav-menu{
    width: 80%;
  }
  .footer .locate {
    width: 100%;
    padding-top: 20px;
    text-align: center;
  }

  .footer-social {
    text-align: center;
    margin-top: 15px;
  }

  .footer-social .list-inline {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# 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);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 5px 0;
}

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

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

.page-title .breadcrumbs 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: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 0;
}

.section-title p {
  font-size: 15px;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about{
  display: flex;
  position: relative;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  text-align: center; /* Ensures text inside is centered */
  height: 100vh;
  width: 100%;
  /* background: linear-gradient(to bottom, rgba(240, 153, 76, 1), rgba(139, 69, 19, 1)); */
  padding: 0;

}



.about h1 {
  /* color: var(--heading-color); */
  color: #000000;
  position: relative;
  font-size: 35px;
  margin: 0 auto;
  max-width: 67%;
  z-index: 3;
  line-height: 1.2;
  padding-bottom: 20px;

}

mark {
  /* background-color: var(grey); */
  background-color: color-mix(in srgb, var(--heading-color) 10%, transparent);
  position: relative;
  z-index: 2;
  background-clip: content-box;
  color: var(--heading-color);
}

canvas {
  position: absolute;
  top: 0;
  left: -2px;
  width: 100vw;
  height: 75vh;
  outline: none;
  pointer-events: none;
  z-index: 1;
  /* background-color: var(--background-color); */
}

@media (max-width: 768px) {
  .about h1{
    font-size: 28px;
    top: -10vh;
  }
}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/

.article {
  padding: 0;
}

.wrapper {
  margin: 5vh auto; /* Reduce space & center the wrapper */
  max-width: 1200px;
  margin-bottom: 0;
}



.section_heading{
  font-weight: 300;
  padding: 20px;
  padding-bottom: 40px;
}

.article .card-title{
  color: #fff;
}

/* Card Styling */
.card {
  border: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  border-radius: 20px;
  height: 58vh;
  width: 100%;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgb(255, 255, 255);
  align-items: center;

  .card-body{
    flex-grow: 1; /* Allows text content to take up space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps text aligned well */
    width: 100%;
  }
  @media (max-width: 768px) {
      min-height: 350px;
  }

  @media (max-width: 420px) {
      min-height: 300px;
  }
  img{
    /* min-width: 27vw;
    bottom: 0;
    overflow: hidden;
    align-self: flex-end; */
    align-self: center; /* Centers the image */
    margin-top: auto; /* Pushes image to the bottom */
    object-fit: contain;
    width: 100%;
  }
}
.card-has-bg {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  transition: all 500ms ease-in-out;
  border-radius: 15px;
  

/* Background Image Handling & Hover Effect */
/* .card-has-bg {
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: block; /* Ensures it works as an interactive element 



  /* &:hover {
      transform: scale(0.98);
       box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3); 
      background-size: 130%;
      transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  }
   */
   &:hover {
    .card-body{
      margin-top: 30px;
      transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }
  cursor: pointer;
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
 }
  
 }


/* Card Image Overlay */
.card-img-overlay {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  background: rgb(19,13,133);
background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-color) 19%, var(--accent-color) 39%, rgba(0,212,255,0) 100%);
  /* background: linear-gradient(0deg, rgba(243, 243, 243, 0.379) 0%, var(--accent-color) 100%); */
}

.card-img-overlay:hover {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
 background: rgb(38, 0, 255);
 background: linear-gradient(180deg, rgba(0, 14, 141, 100) 10%, var(--accent-color) 40%, rgba(255, 255, 255, 0) 100%);
}
/* Category Labels */
.category-label {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: var(--heading-color);
  color: white;
  font-size: 12px;
  border-radius: 5px;
  font-weight: 600;
  align-self: flex-start;
}

/* Sorting Buttons */


.sortLink {
  text-decoration: none;
  color: #007bff;
  /* font-weight: bold; */
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.sortLink.selected,
.sortLink:hover {
  background-color: #007bff;
  color: white;
}

/* Thumbnails */
.thumbnail_container {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}



.thumbnail {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin-top: 0%;
}

/* Hide Elements Properly */
/* .hideMe {
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
}

.showMe {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
} */

/* Container for View More Button */
.view-more-container {
  display: flex;
  justify-content: flex-end;  /* Aligns to the right */
  margin-top: 20px;
  margin-bottom: 40px;
  padding-right: 20px;
}

/* View More Button Styling */
.view-more-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background: var(--heading-color);
  border-radius: 10px;
  transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover Effect */
.view-more-btn:hover {
  background-color:  #0056b3; /* Darker Blue */
  transform: scale(1.01);
  color: white;
}

@media (max-width: 1024px) {
  .thumbnail_container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
}

@media (max-width: 768px) {
  .thumbnail_container {
    grid-template-columns: repeat(1, 1fr); /* 1 column */
  }
}

/* Ensure Only 6 Cards Show */

.thumbnail:nth-child(n+7) {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}


.card-body {
  flex-grow: 1; /* Ensures the content stretches evenly */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .thumbnail_container {
    padding-left: 15px; /* Adjust as needed */
    padding-right: 15px; /* Adjust as needed */
  }
}

/* Optional: Add a smaller margin on very small screens */
@media (max-width: 480px) {
  .thumbnail_container {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* .card img {
  display:none; 
} */
/*--------------------------------------------------------------
# gallery Section
--------------------------------------------------------------*/


body {
  margin: 0;
  overflow-x: hidden;
}





/* Subscribe Form Initially Hidden */
.subscribe {
padding-top: 5px;
position: absolute;
width: 100%;
height: 20vh;
opacity: 0;
/* transform: translateY(50px); */
transition: opacity 0.3s ease, transform 0.3s ease;
background-color: var(--background-color);
color: #333;
text-align: center;
/* box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1); */
display: flex; /* Using flex to center content vertically */
flex-direction: column;
justify-content: center; /* Center content vertically */
}

.subscribe h3 {
font-size: 1.8rem;
margin-bottom: 5px;
}

.subscribe form {
padding-left: 10%;
display: flex;
justify-content: center; /* Center form content horizontally */
align-items: center;
width: 60%; /* Reduce form width to 60% */
margin: 0 auto; /* Center the form itself */
gap: 10px;

}

.subscribe input[name="name"] {
flex: 1; /* Name takes 1 part */
padding: 10px;
border: 2px solid #2d5e9a;
border-radius: 8px;
font-size: 1rem;
outline: none;
transition: all 0.3s ease;
}

.subscribe input[name="email"] {
flex: 2; /* Email takes 2 parts */
padding: 10px;
border: 2px solid #2d5e9a;
border-radius: 8px;
font-size: 1rem;
outline: none;
transition: all 0.3s ease;
}

.subscribe input:focus {
border-color: #F0984C;
box-shadow: 0 0 8px rgba(240, 152, 76, 0.5);
}

.subscribe button {
padding: 12px 18px;
background-color: #2d5e9a;
color: white;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}

.subscribe button:hover {
background-color: #F0984C;
transform: scale(1.05);
}


.past-letters{
  padding-left: 20px;
}


.gallery {
position: relative;
background-color: var(--background-color);
/* padding-top: 60px; */
/* padding-bottom: 60px; */
height: 100vh;
}

.gallery .section_heading{
  padding-bottom: 0;
  padding-top: 0;
  padding-left: 80px;
}

.gallery-container {
width: 100vw;
height: 70vh;
overflow: hidden;
background-color: var(--background-color);
margin: 0;
padding: 20px;
}

.img_text{
display: inline-block;
text-align: center;
width: 100%;

}

.img_text .text {
font-size: 10px;
width: 100%;
word-wrap: break-word;
}

.scroll-img {
display: flex;
width: fit-content;
height: 70%;
padding: 30px;
scroll-behavior: smooth;
white-space: nowrap;
position: relative;
background-color: var(--background-color);
}

.scroll-img::-webkit-scrollbar {
display: none;
}

.gallery-item {
min-width: 250px;
height: 80%;
background: lightblue;
margin: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
color: var(--heading-color);
border-radius: 10px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
overflow: hidden;
position: relative;
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
}

.special-item {
background: transparent;
box-shadow: none;
display: flex;
align-items: center;
justify-content: center;
/* font-family: 'Your Appealing Font', sans-serif; */
font-size: 2rem;
}

.gallery-item-container {
display: flex;
height: 100%;
flex-direction: column; /* Keep it inline with the scroll */
margin-top: 20px; /* Add margin for spacing */
margin-left: 10px;
margin-right: 10px;
align-items: center;
}

.gallery-item-container .gallery-item{
height: 100%; /* forces the gallery item to fill the gallery-item-container*/
margin: 0; /* remove the margin that was added by the general gallery-item class*/
}

.img-description {
text-align: center;
width: 250px; /* Match the min-width of gallery-item */
margin: 20px;/* Ensure long words wrap */
}

.img-description p {
width: 100%;
overflow-wrap: break-word;
line-height: 1.4;
white-space: normal; /* Adjust as needed */
}

.last-item .collage {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 5px;
width: 100%;
height: 80%;
}

.last-item .collage img {
width: 100%;
height: 100%;
object-fit: cover;
}

.last-item .view-more {
display: block;
text-align: center;
padding: 7px;
background-color: #2d5e9a;
color: white;
text-decoration: none;
border-radius: 10px;
margin-top: 10px; 
h3{
  color: #ffffff;
}
}

.spacer {
min-width: 250px;
height: 80%;
background: transparent;
margin: 20px;
display: inline-block;
}


@media (max-width: 768px) {
  .subscribe {
    height: auto; /* Let height adjust based on content */
    padding: 15px;
  }
  
  .subscribe h3 {
    font-size: 1.3rem;
    padding: 10px;
  }
  
  .subscribe form {
    width: 100%;
  }
  
  .subscribe input[name="name"],
  .subscribe input[name="email"] {
    font-size: 1rem;
    padding: 10px;
  }
  
  .subscribe button {
    font-size: 1rem;
    padding: 12px;
  }
  .gallery .section_heading{
    padding-left: 0px;
    margin-left: 0px;
  }
  .past-letters{
    display: none;
  }
  }
  