
/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #815ac0;
  --secondary-color:              #3D405B;
  --section-bg-color:             #F4F1DE;
  --custom-btn-bg-color:          #418327;
  --custom-btn-bg-hover-color:    #E07A5F;
  --dark-color:                   #000000;
  --p-color:                      #424244;
  --link-hover-color:             #E07A5F;

  --body-font-family:             'DM Sans', sans-serif;

  --h1-font-size:                 42px;
  --h2-font-size:                 36px;
  --h3-font-size:                 28px;
  --h4-font-size:                 24px;
  --h5-font-size:                 22px;
  --h6-font-size:                 20px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;
  --btn-font-size:                14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
  font-display: swap ;
}
/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-medium);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}
/*---------------------------------------
  Loader
-----------------------------------------*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white; /* or your brand background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-container {
    position: relative;
    width: 100px; /* adjust as needed */
    height: 100px; /* adjust as needed */
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px; /* adjust size as needed */
    height: 60px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.spinner {
    border: 4px solid rgba(0,0,0,0.1); 
    border-top: 4px solid #815ac0;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loader {
    opacity: 1;
    transition: opacity 0.5s ease;
}
#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-bg {
  background-image: linear-gradient(white);
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-news-padding {
  padding-bottom: 100px;
}

.section-overlay {
  content: "";
  background: rgba(0, 0, 0, 0) linear-gradient(rgba(39, 48, 83, 0.01) 0%, rgb(39, 48, 83) 100%) repeat scroll 0% 0%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  OPTIMIZED ANIMATED HEADLINE - LEFT TO RIGHT               
-----------------------------------------*/
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.cd-words-wrapper b {
  color: #86ec94;
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  /* Hardware acceleration for better mobile performance */
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

.cd-words-wrapper b.is-visible {
  position: relative;
}

.no-js .cd-words-wrapper b {
  opacity: 0;
}

.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

/* Left-to-right slide animation */
.cd-headline.rotate-1 b {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: all 0.8s ease-in-out;
}

.cd-headline.rotate-1 b.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: cd-fade-slide-in 0.6s ease-out;
}

.cd-headline.rotate-1 b.is-hidden {
  opacity: 0;
  transform: translate3d(60px, 0, 0);
  animation: cd-fade-slide-out 0.4s ease-in;
}

@keyframes cd-fade-slide-in {
  0% {
    opacity: 0;
    transform: translate3d(-30px, 0, 0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cd-fade-slide-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(60px, 0, 0) scale(0.95);
  }
}

/* Media query for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cd-headline.rotate-1 b {
    animation: none !important;
    transition: opacity 0.3s ease;
  }
  
  .cd-headline.rotate-1 b.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  
  .cd-headline.rotate-1 b.is-hidden {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-group .link {
  color: var(--white-color);
  font-weight: var(--font-weight-medium);
}

.custom-btn-group .link:hover {
  color: var(--link-hover-color);
}

/* Custom button styles */
.custom-btn-header {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn-header:hover {
    background:  var(--link-hover-color);
    color: white;
}

/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.offcanvas {
  background-color: var(--primary-color);
  padding: 30px;
}

.offcanvas.offcanvas-end {
  border-left: 0;
}

.offcanvas-header .btn-close {
  transition: all 0.3s;
}

.offcanvas-header .btn-close:hover {
  transform: rotate(180deg);
}

.offcanvas svg {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar {
  background: var(--primary-color);
  z-index: 99;
  padding-top: 15px;
  padding-bottom: 15px;
}
.sticky-wrapper.is-sticky .navbar {
  background-color: var(--primary-color);
}


.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--dark-color);
  max-width: 48px;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
  color: var(--white-color);
}

/* 
.navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
}
  */

.navbar-brand-image {
  width: 48px;
  height: 48px;
}

.navbar-brand-text {
  line-height: normal;
  margin-left: 10px;
  position: relative;
  bottom: 5px;
  
}

.navbar-brand-text small {
  display: block;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--link-hover-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-image: url('/images/hero-home.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  height: 100vh;
  min-height: 670px;
  margin-bottom: -90px;
}

.hero-50 {
  height: auto;
  min-height: 540px;
  margin-bottom: -100px;
}

.hero-50 .container + svg {
  transform: rotate(180deg);
}

.hero-section .ratio {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.hero-section svg {
  position: absolute;
  right: 0;
  left: 0;
}

.hero-section > svg {
  top: 0;
}

.hero-section .container + svg {
  top: auto;
  bottom: -1px;
}

.hero-section .row {
  position: relative;
  z-index: 22;
}

/*---------------------------------------
  HERO SECONDARY - MOBILE OPTIMIZED
-----------------------------------------*/
.hero-section-s {
  background-image: url('/images/hero-sec.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  height: 100vh;
  min-height: 670px;
  margin-bottom: -90px;
}

.hero-50 {
  height: auto;
  min-height: 540px;
  margin-bottom: -100px;
}

.hero-50 .container + svg {
  transform: rotate(180deg);
}

.hero-section-s .ratio {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.hero-section-s svg {
  position: absolute;
  right: 0;
  left: 0;
}

.hero-section-s > svg {
  top: 0;
}

.hero-section-s .container + svg {
  top: auto;
  bottom: -1px;
}

.hero-section-s .row {
  position: relative;
  z-index: 22;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  .hero-section-s {
    /* Remove fixed attachment on mobile */
    background-attachment: scroll;
    /* Ensure image loads properly */
    background-size: cover;
    background-position: center center;
    /* Add fallback background color */
  }
  
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .hero-section-s {
    background-attachment: scroll !important;
    /* Force hardware acceleration */
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }
}

/* Alternative: If you want to keep parallax effect on desktop only */
@media (min-width: 769px) {
  .hero-section-s {
    background-attachment: fixed;
  }
}

/* Fallback for very small screens */
@media (max-width: 480px) {
  .hero-section-s {
    background-position: center top;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/*---------------------------------------
  BACKGROUND IMAGE SECTION - MOBILE OPTIMIZED       
-----------------------------------------*/

.section-about-image {
  background-image: url('/images/newslet.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /* Add fallback background color based on image theme */
  background-color: #2c3e50;
}

.section-about-image .container + svg {
  transform: rotate(180deg);
  position: relative;
  bottom: -1px;
}

.section-image {
  background-image: url('/images/services/serv2.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: -70px;
  /* Add fallback background color based on image theme */
  background-color: #34495e;
}

.section-image .container + svg {
  transform: rotate(180deg);
  position: relative;
  bottom: -1px;
}

.section-bg-image-block {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(209, 213, 219, 0.3);
  padding: 50px;
}

/* Mobile-specific fixes for both sections */
@media (max-width: 768px) {
  .section-about-image,
  .section-image {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }
  
  .section-bg-image-block {
    padding: 30px;
    margin: 0 15px;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .section-about-image,
  .section-image {
    background-attachment: scroll !important;
    /* Improve rendering performance */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Desktop-only parallax effect */
@media (min-width: 769px) {
  .section-about-image,
  .section-image {
    background-attachment: fixed;
  }
}

/* Small mobile screens optimization */
@media (max-width: 480px) {
  .section-about-image,
  .section-image {
    /* Adjust background position for small screens */
    background-position: center top;
  }
  
  .section-bg-image-block {
    padding: 20px;
    margin: 0 10px;
    border-radius: 12px;
  }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .section-about-image,
  .section-image {
    /* Ensure crisp images on retina displays */
    background-size: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .section-about-image,
  .section-image {
    background-attachment: scroll !important;
  }
  
  .section-bg-image-block {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.9);
  }
}


/*---------------------------------------
  ABOUT SECTOIN              
-----------------------------------------*/
.about-section {
  padding-bottom: 70px;
  background-image: linear-gradient(#f2a5b9 20%,#f2a5b9,white);
}

.member-block-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.member-block-image-wrap:hover .member-block-image {
  transform: scale(1.2);
}

.member-block-image-wrap:hover .social-icon {
  opacity: 1;
}

.member-block-image-wrap .social-icon {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s;
  padding: 15px 20px;
  width: auto;
}

.member-block-image {
  transition: all 0.3s;
  align-content: center;
}

.member-block-info {
  padding: 10px;
}

.member-block-info h4,
.member-block-info p {
  margin-bottom: 0;
}


/*---------------------------------------
  CUSTOM BLOCK              
-----------------------------------------*/
.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
}

.custom-block-bg {
  background: var(--white-color);
}

.custom-block-date-wrap {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-medium);
  text-align: center;
  padding: 20px 30px;
}

.custom-block-date {
  font-size: var(--h1-font-size);
}

.custom-block-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  max-height: 15rem ;
}

.custom-block-image-wrap:hover .custom-block-image {
  transform: scale(1.2);
}

.custom-block-image-wrap:hover .custom-block-icon {
  opacity: 1;
}

.custom-block-image {
  transition: all 0.3s;
}

.custom-block-image-wrap .custom-block-date-wrap,
.custom-block-image-wrap .custom-btn-wrap {
  position: absolute;
  bottom: 0;
}

.custom-block-image-wrap .custom-block-date-wrap {
  border-radius: 0;
  left: 0;
  width: 50%;
  padding: 12.30px 20px;
}

.custom-block-image-wrap .custom-btn-wrap {
  right: 0;
  width: 50%;
}

.custom-block-image-wrap .custom-btn  {
  border-radius: 0;
  display: block;
  padding: 5px 20px;
}

.custom-block-info {
  padding-top: 10px;
}

.custom-block-image-wrap + .custom-block-info {
  padding-top: 20px;
}

.custom-block-span {
  color: black;
  font-weight: var(--font-weight-bold);
  min-width: 110px;
  margin-right: 10px;
}

.custom-block-icon {
  background: var(--custom-btn-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: var(--h3-font-size);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s;
}

.custom-block-icon:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}


/*---------------------------------------
  EVENTS SECTION            
-----------------------------------------*/
.events-section{
  background-image: linear-gradient(#f2a5b9 20%, #f2a5b9,#e99a3f);
}
.events-section.section-bg .container > .row {
  margin-right: 5px;
  margin-left: 5px;
}
.events-section .section-bg + svg {
  transform: rotate(180deg);
  position: relative;
  bottom: -1px;
}
.events-section svg {
  position: absolute;
  right: 0;
  left: 0;
}


.events-section.section-bg .container > .row .row {
  margin: auto;
}

.events-listing-section {
  margin-bottom: 100px;
}

.events-detail-section .custom-block-info {
  padding: 40px 60px;
}

.events-detail-info {
  background-color: #F2CC8F;
  border-radius: var(--border-radius-medium);
  padding: 50px 25px;
}

.events-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-medium);
  color:#000000 ;
}


/*---------------------------------------
  MEMBERSHIP SECTION            
-----------------------------------------*/
.membership-section .container {
  position: relative;
  z-index: 2;
}

.table-responsive {
  border-radius: var(--border-radius-medium);
}

.table-responsive tbody, 
.table-responsive td, 
.table-responsive tfoot, 
.table-responsive th, 
.table-responsive thead, 
.table-responsive tr {
  border: 0;
}

.table-responsive thead tr {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.table-responsive thead th {
  padding: 22px 16px !important;
}

.table-responsive tbody tr:nth-child(even) {
  background-color: var(--section-bg-color);
}

.table>:not(caption)>*>* {
  padding: 18px 16px;
}

.table-responsive .bi-check-circle-fill {
  color: var(--primary-color);
}

.table-responsive .bi-x-circle-fill {
  color: var(--custom-btn-bg-hover-color);
}

.membership-form {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  padding: 35px;
}

.membership-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 100px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-image{
  width: 100% ;
  max-height: 35rem ;
  border-radius: 15%;

}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 120px;
}

.contact-info {
  position: relative;
}

.contact-info-item {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-info-body {
  padding: 20px 30px;
}

.contact-info-body strong,
.contact-info-item a {
  color: var(--white-color);
}

.contact-info-footer {
  background-color: var(--custom-btn-bg-hover-color);
  padding: 10px 20px;
  transition: all 0.3s;
}

.contact-info-footer:hover {
  background-color: var(--custom-btn-bg-color);
}

.contact-info-footer a {
  display: block;
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SITE FOOTER            
-----------------------------------------*/
.site-footer {
  position: relative;
  padding-bottom: 200px;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.site-footer svg {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  pointer-events: none;
}

.site-footer-title {
  color: var(--secondary-color);
}

.site-footer p span {
  font-weight: var(--font-weight-medium);
  margin-right: auto;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  border-width: 2px;
  box-shadow: none;
  color: var(--p-color);
  margin-bottom: 20px;
  padding: 10px;
  padding-left: 20px;
  outline: none;
}

.custom-form .form-control:focus,
.custom-form .form-control:hover {
  border-color: var(--dark-color);
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
  padding-left: 10px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

.header-form {
  position: relative;
}

.header-form .form-control {
  padding-left: 42px;
}

.header-form-icon {
  width: 24px;
  position: absolute;
  top: 0;
  margin: 12px;
  margin-left: 15px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  .section-padding {
    padding-top: 50px;
 
  }
  
  .navbar {
    background-color: var(--primary-color);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    margin: 5px;
    padding: 0;
  }
  .hero-section-s {
  background-attachment: scroll !important; /* Override fixed attachment */
  background-position: center center !important; /* Ensure proper centering */
}
 .hero-section {
  background-attachment: scroll !important; /* Override fixed attachment */
  background-position: center center !important; /* Ensure proper centering */
}
.section-image {
  background-attachment: scroll !important; /* Override fixed attachment */
  background-position: center center !important; /* Ensure proper centering */
}
.section-bg-image{
  background-attachment: scroll !important; /* Override fixed attachment */
  background-position: center center !important; /* Ensure proper centering */
}

.hero-section {
    position: relative;
    top: 82px;
    margin-bottom: 82px;
  }

  .events-listing-section {
    margin-bottom: 50px;
  }

  .events-detail-section .custom-block-info {
    padding: 40px;
  }

  .events-detail-info {
    padding: 35px 25px;
  }

  .contact-info-item {
    width: 60%;
  }

  .events-detail-section .contact-info-item {
    width: 70%;
  }

  .section-bg-image {
    margin-bottom: 0;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    font-size: var(--p-font-size);
  }

  .navbar-brand-icon {
    width: 30px;
    height: 30px;
  }

  .navbar-brand-icon::after {
    top: 5px;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .contact-info-item {
    width: 72%;
  }
}

@media screen and (max-width: 360px) {
  .custom-btn {
    font-size: 12px;
    padding: 4px 12px;
  }
}

#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 100;
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: var(--primary-color);
}

/*---------------------------------------
  ABOUT TIMELINE        
-----------------------------------------*/

.timeline {
  position: relative;
  padding: 2rem 0;
  overflow-x: hidden;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #dee2e6;
  transform: translateX(-50%);
  z-index: -1;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  position: relative;
}

.timeline-row {
  flex: 1;
  padding: 0 1rem;
}

.timeline-img {
  background: white;
  border: 4px solid #0d6efd;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  z-index: 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-img img {
  border-radius: 50%;
  width: 90%;
  height: 90%;
  object-fit: cover;
}

.timeline-content {
  background: #f8f9fa;
  padding: 1.2rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    flex-direction: column;
    text-align: left;
  }

  .timeline-img {
    margin: 1rem 0;
    order: 1;
  }

  .timeline-row {
    flex: none;
    width: 100%;
    padding: 0;
    order: 2;
  }

  .timeline-row.left,
  .timeline-row.right {
    text-align: left;
  }
}
.custom-btn {
transition: all 0.3s ease;
transform: translateY(0);
box-shadow: none;
border: none;
color: white;
padding: 1rem 1rem;
font-weight: bold;
border-radius: 12px;
margin-bottom: 1rem;
}
.custom-btn-header {
transition: all 0.3s ease;
transform: translateY(0);
box-shadow: none;
border: none;
color: white;
padding: 1rem 1rem;
font-weight: bold;
border-radius: 12px;
}
.custom-btn-header:hover {
transform: translateY(-8px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.custom-btn:hover {
transform: translateY(-8px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.services-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20,35,45,0.85) 0%, rgba(45,60,75,0.8) 50%, rgba(255,140,100,0.3) 90%, rgba(255,180,120,0.4) 100%);
}
.services-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.section-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  font-family: 'Serif', serif;
}
  
.servnav-tabs {
  border: none;
  margin-bottom: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style-type: none;
}

.servnav-tabs .servnav-link {
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    margin: 0.5rem;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,180,120,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.servnav-tabs .servnav-link:hover {
    background: rgba(255,180,120,0.2);
    transform: translateY(-3px);
    border-color: rgba(255,180,120,0.6);
    box-shadow: 0 8px 25px rgba(255,180,120,0.3);
}

.servnav-tabs .servnav-link.active {
    background: linear-gradient(45deg, rgba(255,140,100,0.8), rgba(255,180,120,0.9));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,140,100,0.4);
    border-color: rgba(255,180,120,0.8);
}

.service-card {
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,180,120,0.2);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,180,120,0.5);
}

.service-image {
    width: 80%;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
    border: 4px solid rgba(255,180,120,0.4);
    transition: all 0.3s ease;
    display:block ;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.service-card:hover .service-image {
    border-color: rgba(255,140,100,0.8);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,140,100,0.4);
}

.service-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.service-subtitle {
    color: rgba(255,220,180,0.9);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.description-box {
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 0 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin-top: 1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,180,120,0.3);
}

.service-card:hover .description-box {
    max-height: 300px;
    padding: 1.5rem;
}

.description-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #d4750a;
}

.description-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.description-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4750a;
    text-align: right;
    border-top: 2px solid rgba(255,180,120,0.3);
    padding-top: 0.5rem;
}
  
  .tab-pane {
      min-height: 400px;
  }
.service-card {
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: scale(1.02);
}

/* Collapse by default */
.service-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
  opacity: 0;
}
.service-card img{
  width: 200px;
  height: 200px;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

/* Expand only when hovering over the image-wrapper */
.service-card:hover .image-wrapper + .text-center .service-desc {
  max-height: 400px; /* enough for 1-2 lines */
  opacity: 1;
}
   
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .servnav-tabs .servnav-link {
        padding: 12px 20px;
        font-size: 0.8rem;
        margin: 0.25rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .description-box {
        margin-top: 1rem;
    }
    
    .service-card:hover .description-box {
        max-height: 180px;
        padding: 1rem;
    }
    .description-text{
      font-size: 0.6rem;
    }
}
@media (max-width: 1024px) {
  .description-text{
    font-size: 0.7rem;
  }

}

/* Enhanced floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.04;
    animation: float 12s ease-in-out infinite;
    color: #667eea;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    font-size: 4rem;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 4s;
    font-size: 3rem;
}

.floating-element:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 8s;
    font-size: 3.5rem;
}

.floating-element:nth-child(4) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-15px) rotate(2deg) scale(1.05); 
    }
    50% { 
        transform: translateY(-25px) rotate(-2deg) scale(0.95); 
    }
    75% { 
        transform: translateY(-10px) rotate(1deg) scale(1.02); 
    }
}
/* Floating Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

.chatbot-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.chatbot-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(4, 126, 126, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.chatbot-dialogue {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.chatbot-dialogue.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dialogue-header {
    background: #815ac0;
    color: white;
    padding: 20px;
    text-align: center;
}

.dialogue-header h3 {
  color: white ;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.dialogue-header p {
  color: white ;
    margin: 5px 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.dialogue-content {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.steps-section {
    margin-bottom: 25px;
}

.steps-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.steps-title::before {
    content: "📋";
    margin-right: 8px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.step:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.step-number {
    background: #f2a5b9;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.contact-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.form-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.form-title::before {
    content: "📧";
    margin-right: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    height: 80px;
}

.submit-btn {
    width: 80%;
    background: linear-gradient(135deg, #815ac0 );
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .chatbot-dialogue {
        width: calc(100vw - 40px);
        right: -10px;
    }
    
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
}

/* Success Message */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Certifications About Page */

.invisible-table {
    border: none !important;
}

.invisible-table th,
.invisible-table td {
    border: none !important;
}

.invisible-table thead th {
    border-bottom: none !important;
    
}
.invisible-table td {
  background-color:rgb(227, 228, 221) !important;
}

/* Tesimonials */
.testimonial-section{
  background-image: linear-gradient(#f2a5b9 20%,#f2a5b9,#e99a3f);
}
.testimonial {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3d5a80;

}
.testimonial-slide {
  padding: 20px 20px;
}
.testimonial_box-top {
  background-color: rgb(14, 100, 74);
  padding: 30px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-shadow: 5px 5px 20px rgba(152, 193, 217, 0.493);
}
.testimonial_box-icon {
  padding: 10px 0;
}
.testimonial_box-icon i {
  font-size: 25px;
  color: white;
}

.testimonial_box-text p {
  color: white ;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 0;
}

.testimonial_box-name {
  padding-top: 10px;
}
.testimonial_box-name h4 {
  font-size: 20px;
  line-height: 25px;
  color: white;
  margin-bottom: 0;
}
.testimonial_box-job p {
  color: #293241;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 0;
}

/* Blog & Videos */

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
        
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures bottom spacing for button */
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
        
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
        
.blog-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
        
.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}
.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2rem;
}
        
.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: auto; /* pushes button to bottom */
    min-height: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
        
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}
        
.read-more-btn {
    align-self: flex-start; /* ensures left alignment */
    background-image: linear-gradient(#f2a5b9 20%, #f2a5b9);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
        
.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.section-blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.section-blog-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.video-section {
    background-image: linear-gradient(#f2a5b9 20%,#f2a5b9,#e99a3f);
    padding: 4rem 0;
}

.blog-section {
    background-image: linear-gradient(#e99a3f 20%,#e99a3f,white);
    padding: 4rem 0;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .video-title {
        font-size: 1rem;
    }
}

/* Enhanced Dropdown Styles */
.navbar .dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    border: 0;
    display: inherit;
    opacity: 0;
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    pointer-events: none;
}

.navbar .dropdown-menu::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 15px solid var(--white-color);
    position: absolute;
    top: -10px;
    left: 30px;
}

/* Mega Menu Structure */
.mega-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.mega-menu-column {
    flex: 1;
    min-width: 160px;
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-item {
    display: block;
    padding: 8px 0;
    color: var(--p-color);
    font-size: 14px ;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    width: auto ;
}

.mega-menu-item:hover {
    color: var(--link-hover-color);
    background: rgba(27, 227, 241, 0.1);
    padding-left: 8px;
    text-decoration: none;
}

.mega-menu-item::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.mega-menu-item:hover::before {
    width: 5px;

}

/* Regular dropdown styles */
.navbar .dropdown-item {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
}

/* Desktop hover effect */
@media screen and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        margin-top: 0;
        pointer-events: auto;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 991px) {
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: #f8f9fa;
        border: 1px solid var(--border-color);
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        padding: 0;
        min-width: auto;
    }

    .navbar .dropdown-menu::before {
        display: none;
    }

    .mega-menu {
        flex-direction: column;
        gap: 0;
    }

    .mega-menu-column {
        border-bottom: 1px solid var(--border-color);
        padding: 15px;
    }

    .mega-menu-column:last-child {
        border-bottom: none;
    }

    .mega-menu-title {
        font-size: 14px;
        margin-bottom: 10px;
        color: #815ac0;
    }

    .mega-menu-item {
        padding: 6px 0;
        font-size: 13px;
    }

    .mega-menu-item:hover {
        padding-left: 0;
        background: transparent;
    }

    /* Mobile dropdown behavior */
    .navbar .dropdown-menu {
        display: none;
    }

    .navbar .dropdown-menu.show {
        display: block;
    }
}

/* Custom button styles */
.custom-btn-header {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn-header:hover {
    background:  var(--link-hover-color);
    color: white;
}

/* Navbar styling */

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: white ;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--link-hover-color) !important;
}

/* Navbar and Dropdown Fixes */
@media (max-width: 991.98px) {
    /* Mobile navbar fixes */
    .navbar-collapse {
        max-height: calc(100vh - 80px); /* Adjust based on your navbar height */
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Dropdown menu fixes for mobile */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
        max-height: none;
        overflow: visible;
    }
    
    /* Mega menu mobile adjustments */
    .mega-menu {
        display: block !important;
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0;
    }
    
    .mega-menu-column {
        width: 100%;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .mega-menu-title {
        font-size: 14px;
        font-weight: 600;
        color: #815ac0;
        margin-bottom: 8px;
        padding-left: 10px;
    }
    
    .mega-menu-item {
        display: block;
        padding: 8px 20px;
        text-decoration: none;
        font-size: 13px;
        border-left: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
}

@media (min-width: 992px) {
    /* Desktop mega menu */
    .dropdown-menu {
        border: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        padding: 20px;
        margin-top: 10px;
        min-width: 600px; /* Adjust as needed */
        max-width: 800px;
    }
    
    .mega-menu {
        display: flex;
        gap: 30px;
    }
    
    .mega-menu-column {
        flex: 1;
        min-width: 180px;
    }
    
    
    .mega-menu-item {
        display: block;
        padding: 6px 0;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }
    
}

/** Medium Screens **/
@media screen and (max-width: 1400px) {
.navbar-brand-text{
  font-size: 16px;
}
.navbar-nav .nav-link {
  font-size: 14px;
}
.custom-btn-header {
font-size: 14px;
    }

}

@media screen and (max-width: 1200px) {
.navbar-brand-text{
  font-size: 14px;
}
.navbar-nav .nav-link {
  font-size: 12px;
}
.custom-btn-header {
font-size: 12px;
    }
}
