/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Root Variables - Glossy Blue & White Theme matching logo.png */
:root {
  --primary-blue: #1565c0;
  --dark-blue: #0d47a1;
  --light-blue: #42a5f5;
  --lighter-blue: #e3f2fd;
  --glossy-blue: #1976d2;
  --white: #ffffff;
  --off-white: #f8fdff;
  --text-dark: #0d47a1;
  --text-light: #546e7a;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 8px 32px rgba(13, 71, 161, 0.15);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --molecule-bg: radial-gradient(circle at 10% 20%, rgba(25, 118, 210, 0.05) 0%, rgba(66, 165, 245, 0.03) 90%);
  
  /* Override Bootstrap 5 color variables to Glossy Blue */
  --bs-primary: #1565c0;
  --bs-primary-rgb: 21, 101, 192;
  --bs-success: #1976d2;
  --bs-success-rgb: 25, 118, 210;
  --bs-info: #42a5f5;
  --bs-info-rgb: 66, 165, 245;
  --bs-warning: #1565c0;
  --bs-warning-rgb: 21, 101, 192;
  --bs-danger: #0d47a1;
  --bs-danger-rgb: 13, 71, 161;
  --bs-secondary: #546e7a;
  --bs-secondary-rgb: 84, 110, 122;
}

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

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

/* Custom logo cursor for entire page - using logo-cursor.svg */
body {
  cursor: url('assets/images/logo-cursor.svg') 16 16, auto;
}

/* Cursor styles for all interactive elements - logo cursor */
button,
.btn,
.btn-primary-custom,
.btn-outline-custom,
.btn-gold,
input[type="submit"],
input[type="button"],
.nav-link,
.dropdown-item,
.gallery-item,
.floating-btn,
.social-icons a,
.btn-close,
[role="button"],
.dropdown-toggle,
select,
a {
  cursor: url('assets/images/logo-cursor.svg') 16 16, pointer !important;
}

input[type="text"],
input[type="email"],
textarea {
  cursor: text !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Advanced 3D Royal Blue Background Effect - Always Active */
body::before {
  content: '';
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image: 
    radial-gradient(circle at 25% 40%, rgba(26,35,126,0.08) 2px, transparent 2px),
    radial-gradient(circle at 75% 80%, rgba(66,165,245,0.06) 2px, transparent 2px),
    radial-gradient(circle at 10% 90%, rgba(26,35,126,0.05) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(66,165,245,0.07) 3px, transparent 3px),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0px, rgba(0,0,0,0.01) 2px, transparent 2px, transparent 8px);
  background-size: 50px 50px, 80px 80px, 30px 30px, 60px 60px, 20px 20px;
  pointer-events: none;
  z-index:0;
  animation: molecularDrift 120s linear infinite;
  opacity:0.6;
}

/* 3D Floating Elements Background - Royal Blue */
body::after {
  content: '';
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(26,35,126,0.1) 4px, transparent 4px),
    radial-gradient(circle at 80% 70%, rgba(66,165,245,0.08) 6px, transparent 6px),
    radial-gradient(circle at 50% 50%, rgba(66,165,245,0.05) 8px, transparent 8px);
  background-size: 300px 300px, 400px 400px, 500px 500px;
  pointer-events: none;
  z-index:0;
  animation: float3D 20s ease-in-out infinite;
}

@keyframes float3D {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -10px) rotate(2deg); }
  50% { transform: translate(-5px, 15px) rotate(-1deg); }
  75% { transform: translate(15px, 5px) rotate(1deg); }
}

@keyframes molecularDrift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 100px 100px, -80px 80px, 60px -60px, -100px -100px, 40px 40px; }
}

/* Ensure content sits above background */
section, footer, .header, .floating-btn {
  position: relative;
  z-index: 2;
}

/* Glassmorphism Base Enhanced - Permanent Glossy Effect */
.glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
  animation: glossyShimmer 3s ease-in-out infinite;
}

@keyframes glossyShimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white) !important;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index:1;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.05);
  cursor: pointer;
  animation: glossyShimmer 3s ease-in-out infinite;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(26, 35, 126, 0.3);
  color: var(--white) !important;
}

.btn-primary-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light-blue), var(--lighter-blue));
  transition: var(--transition);
  z-index: -1;
}

.btn-primary-custom:hover::after {
  left: 0;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-blue) !important;
  border: 2px solid var(--primary-blue);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 2px 10px rgba(26, 35, 126, 0.2);
  filter: brightness(1.05);
}

.btn-outline-custom:hover {
  background: var(--primary-blue);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--light-blue), var(--lighter-blue));
  color: var(--white) !important;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(66, 165, 245, 0.3);
  color: var(--white) !important;
}

.btn-gold:hover::before {
  left: 100%;
}

/* Sticky Header - Fixed for all pages */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}

.header .container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header .navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white) !important;
  transition: var(--transition);
  padding:0;
  z-index: 10000;
  white-space: nowrap;
  animation: text3D 5s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .navbar-brand img {
  height: 40px;
  width: auto;
  transition: var(--transition);
  filter: brightness(1.1);
}

.header.scrolled .navbar-brand img {
  height: 35px;
}

@media (max-width: 768px) {
  .header .navbar-brand img {
    height: 32px;
  }
}

@media (max-width: 576px) {
  .header .navbar-brand img {
    height: 28px;
  }
}

.header.scrolled .navbar-brand {
  color: #ffffff !important;
}

.header .navbar-toggler {
  border: none;
  padding: 8px;
  background: transparent;
  z-index: 10001;
  display: none;
}

@media (max-width: 991px) {
  .header .navbar-toggler {
    display: block !important;
  }
}

.header .navbar-toggler:focus {
  box-shadow: none;
}

.header .navbar-toggler i {
  font-size: 1.5rem;
  transition: var(--transition);
}

.header.scrolled .navbar-toggler i {
  color: var(--primary-blue) !important;
}

.header:not(.scrolled) .navbar-toggler i {
  color: var(--white) !important;
}

.header .navbar-collapse {
  flex-basis: auto;
}

@media (max-width: 991px) {
  .header .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    overflow-y: auto;
  }
  
  .header .navbar-collapse.show {
    right: 0;
  }
  
  .header .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .header .nav-item {
    margin: 8px 0;
  }
  
  .header .nav-link {
    color: var(--text-dark) !important;
    padding: 12px 16px !important;
    display: block;
    border-radius: 8px;
  }
  
  .header .nav-link:hover,
  .header .nav-link.active {
    background: rgba(26, 35, 126, 0.1);
    color: var(--primary-blue) !important;
  }
  
  .header .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding-left: 20px;
    border: none;
    margin-top: 0;
  }
  
  .header .dropdown-item {
    padding: 8px 16px;
    color: var(--text-dark);
  }
  
  .header .dropdown-item:hover {
    background: rgba(26, 35, 126, 0.1);
    color: var(--primary-blue);
  }
  
  .header .navbar-brand {
    font-size: 24px;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .header .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .header .navbar-nav {
    flex-direction: row;
    align-items: center;
  }
  
  .header .nav-link {
    color: var(--white) !important;
    padding: 8px 16px !important;
    position: relative;
    cursor: pointer;
    text-decoration: none;
  }
  
  .header.scrolled .nav-link {
    color: #ffffff !important;
  }
  
  .header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
  }
  
  .header .nav-link.active::after {
    width: 70%;
  }
}

.header.scrolled {
  background:rgb(7 15 178 / 95%) !important;
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary-blue);
}

.dropdown-item.active {
  background: rgba(46, 125, 50, 0.15);
  color: var(--primary-blue);
  font-weight: 600;
}








/* Hero Section */
.hero-section {
  height: 70vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 70vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(46,125,50,0.25));
  filter: contrast(1.1);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: var(--white);
  width: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  box-sizing: border-box;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Section Common Styles */
.section {
  padding: 50px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--molecule-bg);
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--light-blue);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 15px auto 0;
}

/* 3D Card Effect Enhanced - Permanent Glossy */
.card-3d {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
  border: none;
  height: 100%;
  position: relative;
  overflow: hidden;
  filter: brightness(1.03);
  animation: glossyShimmer 1s ease-in-out infinite;
}

.card-3d::before {
  content: '';
  position: absolute;
  top:0;
  left:0;
  right:0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index:1;
  animation: glossyShimmer 1s ease-in-out infinite;
}

.card-3d::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index:2;
}

.card-3d:hover::after {
  left: 100%;
}

.card-3d:hover {
  transform: translateY(-10px) rotateX(2deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(201, 162, 39, 0.2);
  filter: brightness(1.08);
}

.card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 1;
}

.card-3d::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.card-3d:hover::after {
  left: 100%;
}

.card-3d:hover {
  transform: translateY(-10px) rotateX(2deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(201, 162, 39, 0.2);
  filter: brightness(1.08);
}

.card-3d .card-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 3;
}

/* Product Card */
.product-card {
  border-radius: 20px;
  box-shadow:0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  height:100%;
  border: none;
  background: var(--white);
  position: relative;
  overflow: hidden;
  animation: glossyShimmer 0s ease-in-out infinite;
}

.product-card::before {
  content: '';
  position: absolute;
  top:0;
  left:0;
  right:0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index:2;
  animation: glossyShimmer 3s ease-in-out infinite;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--light-blue);
}

.product-card img {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
  width: 100%;
  filter: brightness(1.08) contrast(1.1) saturate(1.12);
}

.product-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.15) contrast(1.12) saturate(1.18);
}

.product-card .card-body {
  padding: 25px;
  text-align: center;
  position: relative;
  z-index: 10;
  background: var(--white);
  border-radius: 0 0 20px 20px;
  display: block !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
}

.product-card .price {
  color: var(--light-blue);
  font-weight: 700;
  font-size: 1.5rem;
  display: block !important;
  margin-bottom: 15px;
  position: relative;
  z-index: 10;
}

.product-card .btn-primary-custom {
  margin-right: 8px;
  position: relative;
  z-index: 10;
  display: inline-block !important;
}

.product-card .btn-outline-custom {
  padding: 8px 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
  display: inline-block !important;
}

/* Page Hero */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(26,35,126,0.45)), url('../images/hero1.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
  filter: contrast(1.05);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 80%, rgba(66, 165, 245, 0.1), transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.breadcrumb-nav a {
  color: var(--lighter-blue);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* Product Detail */
.product-detail-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  width: 100%;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-list li i {
  color: var(--primary-blue);
}

/* Parallax */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  filter: brightness(1.05) contrast(1.08);
}

.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
}

/* Achievers Section */
.achiever-card {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  filter: brightness(1.03);
}

.achiever-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 1;
}

.achiever-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(66, 165, 245, 0.2);
  filter: brightness(1.08);
}

.achiever-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--light-blue);
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.4);
  filter: brightness(1.08) contrast(1.1);
  transition: var(--transition);
}

.achiever-card:hover img {
  filter: brightness(1.15) contrast(1.12);
  transform: scale(1.05);
}

/* Counter */
.counter-box {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  filter: brightness(1.03);
  animation: glossyShimmer 3s ease-in-out infinite;
}

.counter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  animation: glossyShimmer 3s ease-in-out infinite;
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), 0 0 20px rgba(26, 35, 126, 0.15);
  filter: brightness(1.08);
}

.counter-box h3 {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

/* Gallery */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  cursor: pointer;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(1.08) contrast(1.1) saturate(1.12);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: brightness(1.15) contrast(1.12) saturate(1.18);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 35, 126, 0.7), rgba(66, 165, 245, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay i {
  font-size: 3rem;
  color: var(--white);
}

/* Founder Section */
.founder-section {
  background: var(--off-white);
  position: relative;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(66, 165, 245, 0.08), transparent 60%);
  pointer-events: none;
}

.founder-img {
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 5px solid var(--light-blue);
  width: 100%;
  filter: brightness(1.08) contrast(1.1) saturate(1.12);
  transition: var(--transition);
}

.founder-img:hover {
  filter: brightness(1.15) contrast(1.12) saturate(1.18);
  transform: scale(1.02);
}

.signature {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-blue);
  font-style: italic;
}

/* Vlog Card */
.vlog-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  height: 100%;
  border: none;
  background: var(--white);
  position: relative;
  filter: brightness(1.03) contrast(1.05);
}

.vlog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 1;
}

.vlog-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(66, 165, 245, 0.2);
  filter: brightness(1.08);
}

.vlog-card iframe {
  width: 100%;
  height: 250px;
  border: none;
  filter: brightness(1.08) contrast(1.1) saturate(1.1);
  transition: var(--transition);
}

.vlog-card:hover iframe {
  filter: brightness(1.15) contrast(1.12) saturate(1.15);
}

.vlog-card .card-body {
  padding: 22px 24px 26px;
  text-align: center;
}

/* Contact Form */
.contact-form .form-control {
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  transition: var(--transition);
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.8);
  filter: brightness(1.02);
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
  outline: none;
  filter: brightness(1.05);
}

/* Footer */

.footer {
  background: linear-gradient(135deg, #1565c0, #1976d2, #42a5f5, #ffffff);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(25, 118, 210, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(66, 165, 245, 0.08), transparent 60%);
  pointer-events: none;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.5rem;
  animation: text3D 4s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer h4 img {
  height: 32px;
  width: auto;
  filter: brightness(1.2);
}

@media (max-width: 576px) {
  .footer h4 img {
    height: 28px;
  }
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--light-blue);
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: var(--transition);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
  animation: glossyShimmer 3s ease-in-out infinite;
}

.social-icons a:hover {
  background: var(--light-blue);
  transform: translateY(-5px);
  padding-left: 0;
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(66, 165, 245, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.2);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white) !important;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  filter: brightness(1.1);
  animation: glossyShimmer 3s ease-in-out infinite, float3D 5s ease-in-out infinite;
}

.floating-btn:hover {
  transform: scale(1.15);
  color: var(--white) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.2);
}

.whatsapp-btn {
  bottom: 30px;
  right: 30px;
  background: #25d366;
}

.call-btn {
  bottom: 100px;
  right: 30px;
  background: var(--primary-blue);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

/* Override ALL Bootstrap badge colors to Royal Blue - High Specificity */
html body .badge.bg-success,
html body .badge.bg-primary,
html body .badge.bg-info,
html body .badge.bg-warning,
html body .badge.bg-danger,
html body .badge.bg-secondary,
.badge.bg-success,
.badge.bg-primary,
.badge.bg-info,
.badge.bg-warning,
.badge.bg-danger {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

/* Force override for any remaining green badges */
[class*="badge"][class*="bg-"] {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

/* Offcanvas Sidebar Menu - Enhanced for mobile */
.offcanvas {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1050;
  width: 300px;
}

@media (max-width: 576px) {
  .offcanvas {
    width: 280px;
  }
}

.offcanvas-header {
  border-bottom: 1px solid rgba(26, 35, 126, 0.1);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.95);
}

.offcanvas-title {
  font-family: 'Playfair Display', serif;
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 700;
}

.offcanvas-body {
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  overflow-y: auto;
}

.offcanvas .navbar-nav .nav-item {
  margin-bottom: 8px;
}

.offcanvas .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 12px 16px !important;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 1.05rem;
  display: block;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  background: rgba(26, 35, 126, 0.12);
  color: var(--primary-blue) !important;
  padding-left: 20px !important;
}

.offcanvas .dropdown-menu {
  border: none;
  box-shadow: none;
  padding: 8px 0 8px 20px;
  background: transparent;
  margin-top: 4px;
  display: block;
  position: static;
  float: none;
}

.offcanvas .dropdown-item {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-dark);
}

.offcanvas .dropdown-item:hover {
  background: rgba(26, 35, 126, 0.1);
  color: var(--primary-blue);
  padding-left: 20px;
}

.btn-close {
  background: rgba(0, 0, 0, 0.05) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f9a825'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/8px auto no-repeat;
  opacity: 0.8;
  transition: var(--transition);
  padding: 8px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.btn-close:hover {
  opacity: 1;
  background-color: rgba(26, 35, 126, 0.1);
}

/* Responsive Adjustments - Comprehensive fix */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 80px 0;
  }

  .page-hero h1 {
    font-size: 2.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 150px 0 80px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  
  .container {
    max-width: 540px;
  }
  
  /* Fix alignment issues on mobile */
  .row {
    margin-left: -12px;
    margin-right: -12px;
  }
  
  .col, [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .product-card .card-body {
    padding: 20px 15px;
  }
  
  .achiever-card, .counter-box, .card-3d {
    padding: 20px;
  }
  
  .hero-section, .hero-carousel .carousel-item {
    height: 60vh;
    min-height: 500px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-gold {
    padding: 10px 20px;
    font-size: 0.85rem;
    box-shadow: 0 3px 12px rgba(26, 35, 126, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .page-hero h1 {
    font-size: 1.6rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
    padding: 0 15px;
  }
  
  .hero-section, .hero-carousel .carousel-item {
    height: 50vh;
    min-height: 400px;
  }
  
  .counter-box h3 {
    font-size: 2rem;
  }
  
  
.footer {
    padding: 60px 0 30px;
  }
  
  .footer h4 {
    font-size: 1.3rem;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .call-btn {
    bottom: 85px;
    right: 20px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

/* Animation for AOS compatibility */
[data-aos] {
  pointer-events: auto !important;
}

/* Eye Contrast Enhancements for Royal Blue Theme */
.text-contrast {
  color: var(--white) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.text-contrast-dark {
  color: var(--primary-blue) !important;
  font-weight: 500;
}

.bg-contrast {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

.border-contrast {
  border-color: var(--light-blue) !important;
}

/* Improved focus styles for accessibility */
*:focus {
  outline: 2px solid var(--light-blue) !important;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0d1b6e;
    --dark-blue: #06104a;
    --light-blue: #5ba3f5;
    --text-dark: #0d1b6e;
  }
  
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-gold {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FORCE ALL BOOTSTRAP COLORS TO ROYAL BLUE - Maximum specificity */
html body .bg-success,
html body .bg-primary,
html body .bg-info,
html body .bg-warning,
html body .bg-danger,
html body .bg-secondary,
html body .bg-green,
.bg-success,
.bg-primary,
.bg-info,
.bg-warning,
.bg-danger {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

html body .text-success,
html body .text-primary,
html body .text-info,
html body .text-warning,
html body .text-danger,
.text-success,
.text-primary,
.text-info,
.text-warning,
.text-danger {
  color: var(--primary-blue) !important;
}

html body .border-success,
html body .border-primary,
html body .border-info,
html body .border-warning,
html body .border-danger,
.border-success,
.border-primary,
.border-info,
.border-warning,
.border-danger {
  border-color: var(--primary-blue) !important;
}

/* Force all heading colors after badges to royal blue */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-blue) !important;
}

/* Fix any green colors from Bootstrap or inline styles */
[style*="green"],
[style*="#1565c0"],
[style*="#28a745"] {
  color: var(--primary-blue) !important;
}

/* Ensure buttons with success class are royal blue */
.btn-success,
.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

/* FINAL OVERRIDE - Force all badges and headings after header to royal blue */
header + * .badge,
section .badge,
.main-content .badge,
body .badge,
.badge.bg-success,
[class*="badge"] {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

/* Force headings after any header/badge to royal blue */
header ~ * h1,
header ~ * h2,
header ~ * h3,
header ~ * h4,
header ~ * h5,
header ~ * h6,
section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
  color: #19009e !important;
}

/* ===== ULTIMATE OVERRIDE - MUST BE LAST ===== */
html body .badge.bg-success,
html body .badge.bg-primary,
html body .badge.bg-info,
html body .badge.bg-warning,
html body .badge.bg-danger,
html body .badge.bg-secondary,
body .badge.bg-success,
body .badge.bg-primary,
body .badge.bg-info,
body .badge.bg-warning,
body .badge.bg-danger,
.badge.bg-success,
.badge.bg-primary,
.badge.bg-info,
.badge.bg-warning,
.badge.bg-danger {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

/* Target badges specifically with mb-3 px-3 py-2 classes */
.badge.mb-3.px-3.py-2,
[class="badge bg-success mb-3 px-3 py-2"],
[class*="badge"][class*="bg-success"] {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}
}
/* ===== ABSOLUTE FINAL OVERRIDE - HIGHEST PRIORITY ===== */
html body .badge.bg-success,
html body .badge.bg-primary,
html body .badge.bg-info,
html body .badge.bg-warning,
html body .badge.bg-danger,
html body .badge.bg-secondary,
html > body > .badge.bg-success,
html > body > .badge.bg-primary,
html > body > .badge.bg-info,
html > body > .badge.bg-warning,
html > body > .badge.bg-danger,
body div .badge.bg-success,
body div .badge.bg-primary,
body section .badge.bg-success,
body section .badge.bg-primary,
.badge.bg-success,
.badge.bg-primary,
.badge.bg-info,
.badge.bg-warning,
.badge.bg-danger {
  background-color: #1565c0 !important;
  color: #ffffff !important;
}

/* Target exact classes mentioned by user */
.badge.bg-success.mb-3.px-3.py-2,
.badge.mb-3.px-3.py-2,
[class="badge bg-success mb-3 px-3 py-2"] {
  background-color: #1565c0 !important;
  color: #ffffff !important;
}

/* Force all elements after header with badge class */
header + section .badge,
header ~ section .badge,
.header + * .badge,
.header ~ * .badge {
  background-color: #1565c0 !important;
  color: #ffffff !important;
}

/* ===== NUCLEAR OPTION - OVERRIDE ALL BOOTSTRAP COLORS ===== */
div.badge.bg-success, span.badge.bg-success, p.badge.bg-success,
div.badge.bg-primary, span.badge.bg-primary, p.badge.bg-primary,
div.badge.bg-info, span.badge.bg-info, p.badge.bg-info,
div.badge.bg-warning, span.badge.bg-warning, p.badge.bg-warning {
  background-color: #1565c0 !important;
  color: #ffffff !important;
}




/* Login / Register Nav Buttons */
.header .nav-link.login-link,
.header .nav-link.register-link {
  font-weight: 600;
  transition: var(--transition);
}
.header .nav-link.login-link i,
.header .nav-link.register-link i {
  margin-right: 5px;
}
@media (min-width: 992px) {
  .header .nav-link.login-link {
    margin-right: 5px;
  }
  
  .header .nav-link.register-link {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
  }
  
  .header .nav-link.register-link:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
  }
  .header.scrolled .nav-link.register-link {
    background: var(--white);
    color: var(--primary-blue) !important;
  }
  
  .header.scrolled .nav-link.register-link:hover {
    background: rgba(255,255,255,0.9);
  }
  .header.scrolled .nav-link.login-link {
    color: var(--white) !important;
  }
}
@media (max-width: 991px) {
  .header .nav-link.login-link,
  .header .nav-link.register-link {
    display: block;
    text-align: center;
    padding: 10px 16px !important;
    margin: 5px 0;
    border-radius: 50px;
  }
  
  .header .nav-link.register-link {
    background: var(--primary-blue);
    color: var(--white) !important;
  }
}
/* Hero Section */