/* ============================= */
/*        IMPORT MODULES         */
/* ============================= */
@import url('sections/_gallery.css');
@import url('community.css');
@import url('sections/_footer.css');
@import url('sections/_about.css');

/* ============================= */
/*     TOUCH INTERACTIONS        */
/* ============================= */
:root {
  --touch-target-min: 44px;
  --primary-color: #e74c3c;
  --hover-color: #c0392b;
}

/* Base touch optimizations */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* ============================= */
/*        HERO SLIDER            */
/* ============================= */
.hero-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2rem 0;
  min-height: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  width: 90%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #f5f5f5;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  user-select: none;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.slider-arrow:hover {
  background: var(--primary-color);
  opacity: 1;
}

.slider-arrow.left {
  left: 15px;
}

.slider-arrow.right {
  right: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-slider {
    padding: 1rem 0;
  }
  
  .slider-container {
    width: 95%;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Slider Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.left {
  left: 2rem;
}

.slider-arrow.right {
  right: 2rem;
}

.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh; /* Increased from 60vh for better visibility */
    min-height: 500px; /* Ensure minimum height on very small devices */
  }
  
  .slide-content {
    padding: 1rem;
    transform: translateY(-20px); /* Move content up slightly */
  }
  
  .slide-content h2 {
    font-size: 2rem; /* Slightly smaller heading on mobile */
    margin-bottom: 0.5rem;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .slider-arrow {
    width: 44px; /* Slightly larger for better touch targets */
    height: 44px;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.3); /* More visible background */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    border: 2px solid rgba(255, 255, 255, 0.5); /* Border for better visibility */
  }
  
  .slider-arrow.left {
    left: 0.5rem;
  }
  
  .slider-arrow.right {
    right: 0.5rem;
  }
  
  .slider-nav {
    bottom: 1rem;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
    border-width: 1px;
  }
}

@import url('sections/_gallery.css');

/* Parallax Base Styles */
.parallax-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -1;
  transform: translateZ(-1px) scale(1.5);
  transition: transform 0.1s ease-out;
}

.parallax-content {
  position: relative;
  z-index: 2;
  transform: translateZ(0);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

:root {
  /* Colors */
  --primary-color: #FF6F00;
  --primary-dark: #E65100;
  --hover-accent: #FFA000;
  --charcoal: #263238;
  --beige: #FFF3E0;
  --offwhite: #FFF8E1;
  --text-color: #212121;
  --text-light: #FAFAFA;
  --gold: #FFECB3;
  
  /* Transitions */
  --transition: all 0.3s ease;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 90%;
  --container-max-width: 1200px;
  
  /* Responsive breakpoints */
  --mobile: 768px;
  --tablet: 1024px;
  --desktop: 1200px;
}

/* ============================= */
/*        BASE STYLES            */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: #FFFFFF;
}

/* ============================= */
/*        HERO SECTION           */
/* ============================= */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../images/Ganesh.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  margin-top: 80px; /* Account for fixed navbar */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Full Width Section --- */
#quote-machine {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f7f9fc 0%, #e9eef5 100%);
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* --- Center Container --- */
.quote-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Image Box --- */
.quote-box {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* --- The Dharma Image --- */
.quote-image {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.quote-box:hover .quote-image {
  transform: scale(1.03);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .quote-image {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  #quote-machine {
    padding: 0;
  }
  
  .quote-image {
    height: 45vh;
    min-height: 300px;
    max-width: 100%;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .quote-image {
    height: 40vh;
    min-height: 250px;
  }
}

  
  /* Gallery section mobile styles */
  #gallery {
    background-color: #fff9f5; /* Very subtle warm white with a hint of orange */
    background-image: linear-gradient(135deg, #fff9f5 0%, #fff5f0 100%); /* Subtle gradient */
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  /* Add a subtle pattern overlay */
  #gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 152, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
  }
  
  .gallery-grid {
    padding: 0 1rem;
  }


@media (max-width: 1024px) {
  .full-width-image {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .full-width-image {
    height: 45vh;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .full-width-image {
    height: 40vh;
    min-height: 250px;
  }
}


/* Responsive adjustments */

.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

/* ============================= */
/*     SOCIAL MEDIA SIDEBAR      */
/* ============================= */
.social-sidebar {
    position: fixed;
    right: -60px; /* Start off-screen */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    padding: 15px 5px;
    background: rgba(255, 255, 255, 0.9);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

/* Show when scrolled to second section */
body.scrolled .social-sidebar {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    background: #333;
    border: none;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.social-svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-icon:hover .social-svg {
    transform: scale(1.1);
}

/* Instagram Gradient Background */
.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.email {
    color: #34A853;
}

.social-icon.whatsapp {
    color: #25D366;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Add a subtle pulse effect on hover */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.2); }
    70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.social-icon:active {
    animation: pulse 0.5s;
}

.tooltip {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 45px;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .social-sidebar {
        display: none;
    }
}

/* Mobile Social Bar */
.mobile-social-bar {
    display: none;
}

@media (max-width: 768px) {
    .social-sidebar {
        display: flex;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
        gap: 15px;
        z-index: 1000;
        padding: 20px 8px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-right: none;
        border-radius: 12px 0 0 12px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon i {
        font-size: 18px;
    }

    .tooltip {
        display: none;
    }
    
    /* Hide the bottom bar completely */
    .mobile-social-bar {
        display: none !important;
    }
}


/* ============================= */
/*        NAVIGATION             */
/* ============================= */

/* Reset */
nav ul, nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Desktop Navigation */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 0;
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateX(5px);
}

.logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: var(--transition);
}

.logo:hover img {
  transform: rotate(5deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-line-1 {
  font-weight: 800;
  font-size: 20px;
  color: var(--charcoal);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.brand-line-2 {
  font-weight: 500;
  font-size: 12px;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  margin-top: 2px;
  white-space: nowrap;
  opacity: 0.9;
  transition: var(--transition);
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0 0 0 20px;
  align-items: center;
  height: 100%;
}

.nav-links li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--hover-accent));
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1003;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 280px; /* Fixed width for the sidebar */
  height: calc(100vh - 80px); /* Full height minus navbar */
  background: rgba(255, 255, 255, 0.98);
  z-index: 1001; /* Above all content */
  transform: translateX(-100%);
  opacity: 1;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto; /* Allow scrolling only if content is taller than viewport */
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

/* Active state */
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
}

/* Menu links */
.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 16px 25px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  margin: 0 15px 5px;
  border-radius: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary-color);
  padding-left: 30px;
  border-left-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.05);
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
  transform: translateX(0);
}

/* Ensure body doesn't scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Nav overlay with blur effect */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000; /* Just below the menu but above everything else */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s, -webkit-backdrop-filter 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s, backdrop-filter 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
  cursor: pointer;
  pointer-events: none;
}

/* Apply blur to the main content when menu is open */
body.menu-open > :not(.mobile-menu):not(.navbar):not(.social-sidebar) {
  filter: blur(2px);
  transition: filter 0.3s ease;
}

/* Ensure the menu and navbar stay sharp */
.mobile-menu,
.navbar,
.social-sidebar {
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Navbar z-index fix */
.navbar {
  z-index: 1000; /* Ensure navbar is above the mobile menu */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .logo img {
    height: 40px;
    width: 40px;
  }
  
  .brand-line-1 {
    font-size: 18px;
  }
  
  .brand-line-2 {
    font-size: 10px;
  }
}

/* Add this to your CSS file */
.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo img {
  height: 40px;
  width: 40px;
}

.navbar.scrolled .brand-line-1 {
  font-size: 18px;
}

.navbar.scrolled .brand-line-2 {
  font-size: 10px;
  opacity: 0.8;
}

/* Active Navigation Link */
.nav-links a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}


    /* ===== Sticky Social Media Bar ===== */
    .social-bar {
      position: fixed;
      top: 50%;
      right: 15px;
      transform: translateY(-50%) scale(0.9);
      display: flex;
      flex-direction: column;
      gap: 10px; /* reduced gap */
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      padding: 8px; /* smaller padding */
      width: 64px; /* smaller container width */
      border-radius: 12px;

      /* ✅ Blur / glass effect */
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 4px 16px rgba(31, 38, 135, 0.25);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .social-bar.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(-50%) scale(1);
    }

    /* ===== Social Icons ===== */
    .social-icon {
      width: 38px; /* smaller icons */
      height: 38px;
      border-radius: 50%;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px; /* smaller font */
      transition: all 0.3s ease;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    }

    .social-icon.instagram {
      background: #E1306C;
    }

    .social-icon.facebook {
      background: #3b5998;
    }

    .social-icon.youtube {
      background: #FF0000;
    }

    .social-icon:hover {
      transform: translateY(-3px) scale(1.08);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }


/* ============================= */
/*        UTILITIES             */
/* ============================= */

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }
.text-primary { color: var(--primary-color); }
.text-white { color: white; }
.text-muted { color: #6c757d; }

/* Background Utilities */
.bg-primary { background-color: var(--primary-color); }
.bg-dark { background-color: var(--charcoal); }
.bg-light { background-color: var(--offwhite); }
.bg-white { background-color: white; }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* Flex Utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* Display Utilities */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

/* Width Utilities */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

/* Border Utilities */
.rounded { border-radius: 4px; }
.rounded-circle { border-radius: 50%; }
.rounded-pill { border-radius: 50rem; }

/* Shadow Utilities */
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175); }

/* Position Utilities */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Visibility Utilities */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Overflow Utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Cursor Utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* Z-index Utilities */
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-100 { z-index: 100; }
.z-1000 { z-index: 1000; }

/* Responsive Image */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--hover-accent));
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  color: white;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: var(--primary-color);
  background-color: transparent;
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  color: white;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Helpers */
.hide-on-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

/* ============================= */
/*        ANIMATIONS            */
/* ============================= */

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInDown {
  animation: fadeInDown 0.8s ease-out forwards;
}

/* Fade In Left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  animation: fadeInLeft 0.8s ease-out forwards;
}

/* Fade In Right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInRight {
  animation: fadeInRight 0.8s ease-out forwards;
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoomIn {
  animation: zoomIn 0.6s ease-out forwards;
}

/* Bounce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 1s ease infinite;
}

/* Pulse */
@keyframes pulse {
  0%, 100% { 
    opacity: 0.6;
    transform: translateY(10px) scale(1); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  50% { 
    opacity: 0.3;
    transform: translateY(15px) scale(1.05); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Slide In Right */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    visibility: visible;
  }
  to {
    transform: translateX(0);
  }
}

.slideInRight {
  animation: slideInRight 0.5s ease-out forwards;
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    visibility: visible;
  }
  to {
    transform: translateX(0);
  }
}

.slideInLeft {
  animation: slideInLeft 0.5s ease-out forwards;
}

/* Rotate */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 2s linear infinite;
}

/* Shake */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* Bounce In */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.bounceIn {
  animation: bounceIn 0.75s ease-out forwards;
}

/* Flash */
@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.5;
  }
}

.flash {
  animation: flash 1.5s ease infinite;
}

/* Hover Animations */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Quote Box Styles */
.quote-box {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  margin: 0 auto;
  max-width: 800px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.dotted-bg {
  position: relative;
  padding: 12px 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 18px 18px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(0.98); }
  50% { transform: translateY(-5px) scale(1); }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}






.red-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #FF6F00, #FF8A00);
  border-radius: 50%;
  display: inline-block;
  margin-top: 1.5rem;
  opacity: 0;
  transform: scale(0);
  animation: fadeInUp 0.8s ease-out 0.9s forwards, pulse 2s infinite 1.5s;
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
}

/* Header Wrapper - Ensure it comes first */
.about-header-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  order: -1; /* Ensure header comes first in flex container */
}

.about-title {
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.about-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* Body Wrapper - Contains image and content */
.about-body-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
  margin-top: 30px;
}

.about-image-container {
  flex: 1 1 45%;
  min-width: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
  order: 1; /* Ensure image comes after header on all screens */
}

.about-image-container:hover {
  transform: translateY(-10px);
}

.about-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-container:hover .about-main-image {
  transform: scale(1.05);
}

.about-content-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  order: 2; /* Ensure content comes after image on all screens */
}

.about-text-content {
  max-width: 600px;
  margin: 0 auto;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

.about-mission {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Feature Card */
.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-inner {
  padding: 2rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Card Icon */
.card-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #FF6B00;
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
  background: rgba(255, 107, 0, 0.15);
  transform: scale(1.05);
}

/* Card Content */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.card-text {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  padding: 5rem 2rem;
  background-color: #f9f9f9;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #e74c3c;
  border-radius: 2px;
}

.about-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.about-mission {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid #e74c3c;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.about-mission p {
  margin: 0;
  font-style: italic;
  color: #333;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-content, .about-image {
    width: 100%;
    min-width: 100%;
  }
  
  .about-title {
    font-size: 2rem;
  }
}


/* Card Hover Effect */
.card-hover {
  margin-top: auto;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B00;
  font-weight: 500;
}

.feature-card:hover .card-hover {
  opacity: 1;
  height: auto;
  margin-top: 1rem;
}

.card-hover i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .card-hover i {
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-inner {
    padding: 1.5rem;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
}

/* Feature card hover effect */
.feature-card:hover .card-icon {
  background: var(--primary-color);
  color: white;
  transform: rotateY(180deg);
}

/* Card content styles */
.card-content {
  flex: 1;
}

.card-title {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 15px;
  font-weight: 600;
}

.card-text {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-hover {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: auto;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .card-hover {
  opacity: 1;
  transform: translateX(0);
}

.card-hover i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.feature-card:hover .card-hover i {
  transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .about-container {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .about-section {
    padding: 60px 0;
  }
  
  .about-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-image-container, 
  .about-content-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .about-text-content {
    text-align: center;
    max-width: 100%;
  }
  
  .about-divider {
    margin: 0 auto 30px;
  }
  
  .about-mission {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 3px solid var(--primary-color);
    margin-top: 20px;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 50px 0;
  }
  
  .about-body-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-image-container,
  .about-content-wrapper {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .about-container {
    padding: 0 20px;
    gap: 30px;
  }
  
  .about-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .about-description,
  .about-mission {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 40px 0;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-divider {
    width: 60px;
    height: 3px;
    margin-bottom: 20px;
  }
  
  .about-description,
  .about-mission {
    font-size: 1rem;
    line-height: 1.6;
  }
}
