@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  /* Tiwana Bro'z Color Palette based on Business Card */
  --tb-ocean-blue: #0D5C9E;
  --tb-sky-blue: #4FA1E0;
  --tb-light-blue: #C9E8FF;
  --tb-grass-green: #219E3A;
  --tb-lime-green: #82C341;
  --tb-text-dark: #2B3A4A;
  --tb-text-light: #F7FBFF;
  --tb-white: #FFFFFF;
  --tb-cursor-size: 25px;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--tb-text-dark);
  background-color: var(--tb-text-light);
  overflow-x: hidden;
  padding-top: 75px; /* Offset for fixed-top navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--tb-ocean-blue);
}

.hero-section h1, .hero-section h2, .hero-section p,
.page-header h1, .page-header h2, .page-header p,
.bg-gradient-blue h1, .bg-gradient-blue h2, .bg-gradient-blue p,
.bg-gradient-green h1, .bg-gradient-green h2, .bg-gradient-green p {
    color: white !important;
}

/* Custom Overrides & Reusables */
.bg-ocean { background-color: var(--tb-ocean-blue) !important; color: white; }
.bg-sky { background-color: var(--tb-sky-blue) !important; color: white; }
.bg-grass { background-color: var(--tb-grass-green) !important; color: white; }
.bg-gradient-blue {
    background: linear-gradient(135deg, var(--tb-ocean-blue) 0%, var(--tb-sky-blue) 100%);
    color: white;
}
.bg-gradient-green {
    background: linear-gradient(135deg, var(--tb-grass-green) 0%, var(--tb-lime-green) 100%);
    color: white;
}
.text-ocean { color: var(--tb-ocean-blue) !important; }
.text-sky { color: var(--tb-sky-blue) !important; }
.text-grass { color: var(--tb-grass-green) !important; }

/* Buttons */
.btn-primary {
  background-color: var(--tb-grass-green);
  border-color: var(--tb-grass-green);
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(33, 158, 58, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--tb-lime-green);
  border-color: var(--tb-lime-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 195, 65, 0.4);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    color: var(--tb-ocean-blue);
    background-color: white;
    transform: translateY(-2px);
}

/* Solid White Navbar */
.navbar-glass {
  background: var(--tb-white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  padding: 5px 0; /* Reduced padding */
}
.navbar-brand img {
  height: 65px; /* Compact but clear logo size */
  transition: all 0.3s ease;
}
.navbar-toggler {
    border-color: var(--tb-ocean-blue);
    padding: 8px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13, 92, 158, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-glass .navbar-nav .nav-link {
  color: var(--tb-ocean-blue) !important;
  font-weight: 600;
  margin: 0 10px;
  position: relative;
}
.navbar-glass .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--tb-lime-green);
  transition: width 0.3s ease;
}
.navbar-glass .navbar-nav .nav-link:hover::before,
.navbar-glass .navbar-nav .nav-link.active::before {
  width: 100%;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
}
.dropdown-item {
    color: var(--tb-ocean-blue);
    font-weight: 500;
    padding: 10px 20px;
}
.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--tb-light-blue);
    color: var(--tb-ocean-blue);
}

/* Hero Section with Animations */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url('images/hero-bg.png') center/cover no-repeat; /* Fallback */
  background-blend-mode: overlay;
  background-color: rgba(13, 92, 158, 0.85); /* Ocean blue overlay */
  overflow: hidden;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white !important;
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-section p {
  color: white !important;
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Animated Bubbles */
.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.5);
  animation: floatUp 15s infinite ease-in;
  opacity: 0;
  z-index: 10; /* Brought to front to make clickable */
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-1000px) scale(1.2); opacity: 0; }
}

/* Popping Animation */
.bubble.pop {
    animation: popAnimation 0.3s ease-out forwards !important;
}

@keyframes popAnimation {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

/* Sparkles Decoration */
.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
    0% { transform: scale(0.5); opacity: 0.3; }
    100% { transform: scale(1.2) rotate(45deg); opacity: 1; box-shadow: 0 0 10px white; }
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(13, 92, 158, 0.15);
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tb-light-blue);
  color: var(--tb-ocean-blue);
  font-size: 24px;
  margin-bottom: 20px;
}

/* Footer Element */
.footer-wave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.footer-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}
.footer-svg-path { fill: var(--tb-ocean-blue); }

.footer-social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
}

.footer-social-link:hover {
    background: var(--tb-lime-green);
    border-color: var(--tb-lime-green);
    color: var(--tb-ocean-blue);
    transform: translateY(-3px);
}

/* Contact Icon Circle Fix */
.contact-icon-circle {
  width: 60px;
  height: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}


footer {
  position: relative;
  background-color: var(--tb-ocean-blue);
  color: var(--tb-light-blue);
  padding-top: 80px;
}
footer a { color: var(--tb-light-blue); text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--tb-lime-green); padding-left: 5px; }

/* Global Animations (Triggered by Intersection Observer) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
}
.form-control:focus {
    border-color: var(--tb-sky-blue);
    box-shadow: 0 0 0 0.2rem rgba(79, 161, 224, 0.25);
}

/* Ultimate Mobile Optimization & Shrinkage */
@media (max-width: 768px) {
  /* Global Spacing Aggressive Reduction */
  section.py-5, .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  section.py-4, .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .my-5 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
  .container { padding-left: 15px; padding-right: 15px; }
  .row { --bs-gutter-x: 1rem; }

  /* Typography Aggressive Scaling */
  h1, .display-4 { font-size: 1.6rem !important; line-height: 1.2; letter-spacing: -0.02em; }
  h2, .display-5 { font-size: 1.4rem !important; line-height: 1.3; }
  h3, .display-6 { font-size: 1.25rem !important; }
  h4, h5, h6 { font-size: 1.1rem !important; }
  
  .lead { font-size: 0.85rem !important; line-height: 1.5 !important; margin-bottom: 0.75rem !important; }
  p, li, blockquote { font-size: 0.85rem !important; line-height: 1.5 !important; margin-bottom: 0.75rem !important; }
  
  /* Hero Specifics - Highly Compact */
  .hero-section { min-height: 50vh !important; padding: 40px 0 30px !important; }
  .page-header { padding: 40px 0 20px !important; }
  .hero-section h1 { margin-bottom: 0.5rem !important; }

  /* About Page - Layout Tightening */
  .sticky-column { position: static !important; top: 0 !important; margin-bottom: 1.5rem; }
  .gap-5 { gap: 1.25rem !important; } /* Major reduction in card gaps */
  .gap-4 { gap: 1rem !important; }
  .p-4 { padding: 1rem !important; } /* Shrink standard paddings */
  
  /* Component Adjustments */
  .feature-card, .service-card, .sidebar-card, .package-card { padding: 1.25rem !important; }
  .service-icon, .process-icon-wrapper, .step-circle { width: 50px !important; height: 50px !important; font-size: 1.25rem !important; }
  
  /* Center Specific Cards and Ticks */
  .package-card ul { display: inline-block !important; text-align: left !important; }
  .p-4.bg-ocean, .border-start.border-grass { text-align: center !important; }
  
  /* Navbar Adjustments */
  .navbar-brand img { height: 45px !important; }
  .navbar-glass { padding: 5px 0 !important; }
  .navbar-toggler { padding: 4px 6px !important; font-size: 0.8rem; }

  /* Footer Scaling & Centering */
  footer { padding-top: 40px !important; text-align: center !important; }
  footer .d-flex { justify-content: center !important; }
  footer .list-unstyled li { text-align: center !important; }
  footer .list-unstyled li.d-flex { flex-direction: column !important; align-items: center !important; gap: 8px !important; }
  footer .list-unstyled li div { text-align: center !important; }
  
  .footer-social-link { width: 34px !important; height: 34px !important; font-size: 0.9rem !important; }
  .footer-wave svg { height: 30px !important; }

  /* Interactive Elements Scaling */
  .btn-lg, .btn-primary, .btn-grass { padding: 8px 15px !important; font-size: 0.85rem !important; width: 100%; border-radius: 12px !important; }

  /* Mobile Pulse Animation */
  .btn-grass { animation: mobilePulse 2.5s infinite; }

  /* Disable Scroll Animations on Mobile to prevent "white flash" */
  .animate-on-scroll { 
    opacity: 1 !important; 
    transform: none !important; 
    transition: none !important; 
  }
}

@keyframes mobilePulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(33, 158, 58, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 4px 25px rgba(33, 158, 58, 0.5); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(33, 158, 58, 0.3); }
}

/* --- Bubble Challenge UI --- */
#game-stats {
    position: absolute;
    right: 20px;
    bottom: 80px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 92, 158, 0.15);
    z-index: 999;
    text-align: center;
    border: 3px solid var(--tb-light-blue);
    display: none; /* Shown via JS */
    flex-direction: column;
    gap: 10px;
    width: 140px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    #game-stats {
        display: flex !important;
        flex-direction: row;
        width: auto !important;
        left: auto !important;
        right: 15px !important;
        top: 15px !important;
        bottom: auto !important;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        backdrop-filter: blur(8px);
        transform: scale(0.85);
        transform-origin: top right;
    }
}

.stat-box {
    background: var(--tb-light-blue);
    padding: 8px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .stat-box {
        padding: 2px 8px;
        background: transparent;
        margin: 0;
    }
    .stat-label { display: none !important; } /* Hide 'Time Left' label on mobile pill */
    .stat-value { font-size: 0.9rem; margin-right: 5px; }
}

.stat-label { font-size: 0.7rem; text-transform: uppercase; color: var(--tb-ocean-blue); font-weight: 800; display: block; }

@media (max-width: 768px) {
    .stat-label { font-size: 0.6rem; margin-bottom: -2px; }
}

.stat-value { font-size: 1.4rem; font-weight: 800; color: var(--tb-grass-green); }

@media (max-width: 768px) {
    .stat-value { font-size: 1rem; }
}

.btn-game {
    background: var(--tb-ocean-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px;
    font-weight: 800;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .btn-game {
        width: auto;
        padding: 4px 12px;
        font-size: 0.7rem;
        border-radius: 50px;
    }
}

@media (max-width: 991px) {
    #game-stats {
        bottom: 20px;
        right: 20px;
        flex-direction: row;
        width: auto;
        padding: 10px;
    }
}

/* --- Advanced Service Page Elements --- */

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 92, 158, 0.15) !important;
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(130, 195, 65, 0.3) !important;
    border-color: var(--tb-lime-green) !important;
}

/* Pulsing Icons */
.icon-pulse {
    animation: iconPulse 2s infinite;
}
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(13, 92, 158, 0.2); }
    100% { transform: scale(1); }
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-circle {
    width: 70px;
    height: 70px;
    background: var(--tb-white);
    border: 3px solid var(--tb-ocean-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--tb-ocean-blue);
    font-weight: 800;
    transition: all 0.4s ease;
}
.timeline-step:hover .step-circle {
    background: var(--tb-ocean-blue);
    color: var(--tb-white);
    transform: scale(1.1);
}

/* Package Cards */
.package-card {
    border: 2px solid var(--tb-light-blue);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    background: white;
}
.package-card.popular {
    border-color: var(--tb-grass-green);
    position: relative;
    transform: scale(1.05);
    z-index: 3;
}
.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tb-grass-green);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Custom Button Styles for Pricing */
.btn-grass {
    background: var(--tb-grass-green) !important;
    border: none !important;
    color: white !important;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-grass:hover {
    background: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-outline-ocean {
    border: 2px solid var(--tb-ocean-blue) !important;
    background: transparent !important;
    color: var(--tb-ocean-blue) !important;
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-ocean:hover {
    background: var(--tb-ocean-blue) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 92, 158, 0.2);
}


/* Before/After Slider Shim */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ba-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(13, 92, 158, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    pointer-events: none;
}

/* Feature Cards */
.feature-card {
    background: var(--tb-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(13, 92, 158, 0.1);
    border-bottom: 5px solid var(--tb-ocean-blue);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 92, 158, 0.1);
}

.feature-card i.fs-2 {
    background: rgba(13, 92, 158, 0.05);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card ul {
    margin-top: 1.5rem;
    padding-left: 0;
}

.feature-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem !important;
    text-align: left;
    line-height: 1.4;
}

.feature-card li i {
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.feature-card i {
    font-size: 1.5rem;
    color: var(--tb-ocean-blue);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card i.fs-2 {
    background: rgba(13, 92, 158, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--tb-ocean-blue);
}

/* Comparison Section */
.compare-box {
    padding: 1.5rem;
    border-radius: 12px;
    height: 100%;
}
.compare-standard { border: 2px solid #eee; background: #f9f9f9; }
.compare-deep { border: 2px solid var(--tb-sky-blue); background: var(--tb-light-blue); }

/* Enhanced Premium Animated Waves - Truly Liquid */
.section-relative { position: relative; overflow: hidden; padding-bottom: 60px !important; padding-top: 40px !important; background: var(--tb-ocean-blue); }

.top-wave {
    position: absolute;
    top: -2px; /* Deep overlap to hide straight background edges */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.top-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.animated-waves {
    position: absolute;
    bottom: -10px; /* Deep overlap to hide straight background edges */
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-size: 50% 100%;
    transform: translate3d(0, 0, 0);
}

.wave-1 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%234FA1E0'/%3E%3C/svg%3E");
    animation: wave-move 20s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.3;
    height: 120px;
}

.wave-2 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23C9E8FF'/%3E%3C/svg%3E");
    animation: wave-move 15s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.5;
    height: 90px;
}

.wave-3 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    animation: wave-move 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 1;
    height: 70px;
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Premium Blog Framework --- */
.blog-post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.blog-post-content p {
    margin-bottom: 2rem;
}

.blog-post-content .lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--tb-ocean-blue);
    margin-bottom: 2.5rem;
}

.blog-post-content h2, .blog-post-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--tb-ocean-blue);
}

.blog-post-content blockquote {
    padding: 2.5rem;
    margin: 3rem 0;
    border-left: 5px solid var(--tb-grass-green);
    background: #f8fbfd;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--tb-ocean-blue);
    border-radius: 0 15px 15px 0;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.author-box {
    margin-top: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    border-radius: 25px;
    border: 1px solid rgba(13,92,158,0.05);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--tb-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--tb-ocean-blue);
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.related-post-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-cta-banner {
    background: var(--tb-ocean-blue);
    border-radius: 30px;
    padding: 5rem;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.blog-cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.reading-progress-bar {
    position: fixed;
    top: 75px;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--tb-grass-green);
    z-index: 1001;
    transition: width 0.1s;
}

@media (max-width: 991px) {
    .blog-sidebar { margin-top: 4rem; position: static; }
}

/* --- Page Enhancement System --- */
.stat-item {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.process-step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.process-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #f8fbfd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--tb-ocean-blue);
    border: 3px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon-wrapper {
    background: var(--tb-ocean-blue);
    color: #ffffff;
    transform: scale(1.1);
}

/* Mobile Sticky-Stack Effect */
@media (max-width: 768px) {
    .process-step {
        position: sticky;
        top: 100px;
        background: #ffffff;
        border-radius: 20px;
        padding: 1.5rem !important;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid rgba(13, 92, 158, 0.05);
    }
    
    /* Ensure section padding doesn't fight the sticky offset */
    .section-relative, section.py-5 { padding-top: 1rem !important; }
}

.founder-card {
    border: none;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.founder-image-box {
    height: 350px;
    background: var(--tb-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--tb-ocean-blue);
    position: relative;
    overflow: hidden;
}

.founder-image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13,92,158,0.2) 0%, transparent 100%);
}

.badge-outline-grass {
    border: 1px solid var(--tb-grass-green);
    color: var(--tb-grass-green);
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.commitment-pillar {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid #f0f4f8;
    height: 100%;
    transition: all 0.3s ease;
}

.commitment-pillar:hover {
    border-color: var(--tb-grass-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* Decoration line for sidebar and headings */
.decoration-line {
    position: relative;
    display: inline-block;
}

.decoration-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--tb-grass-green);
    border-radius: 2px;
}
