:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --accent-black: #2a2a2a; /* Darker background for cards, etc. */
  --silver-grey-primary: #A9A9A9; /* Primary text, borders, accents */
  --silver-grey-secondary: #C0C0C0; /* Secondary text, lighter accents */
  --silver-grey-light: #D3D3D3; /* Very light silver for subtle highlights */
  --silver-grey-dark: #808080; /* Muted text, subtle shadows */
  --bright-yellow-accent: #FFFF00; /* Bright accent color for highlights */
  --text-primary: #ffffff;
  --text-secondary: var(--silver-grey-primary);
  --text-muted: var(--silver-grey-dark);
  --border-color: #333333; /* General border color */
  --glow-effect: 0 0 20px rgba(169, 169, 169, 0.3); /* Adjusted for new silver grey */
  --shadow-primary: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-secondary: 0 5px 15px rgba(0, 0, 0, 0.3);

  /* Update gradients to use new colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-black) 0%, var(--accent-black) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-black) 0%, var(--accent-black) 100%);
  --gradient-accent: linear-gradient(135deg, var(--silver-grey-primary) 0%, var(--bright-yellow-accent) 100%); /* Accent gradient */
}

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

body {
  font-family: 'Work Sans', Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--primary-black);
  overflow-x: hidden;
  position: relative;
}

/* Global Particle Canvas */
#global-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

/* Futuristic Background Pattern */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(169, 169, 169, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(169, 169, 169, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(169, 169, 169, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content is above particles */
.navbar,
.hero-section,
.services-overview,
.team-section,
.cta-section,
.footer,
.page-header,
.container,
.blog-article,
main {
  position: relative;
  z-index: 2;
}

/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-secondary);
  transition: all 0.3s ease; /* Smooth transition for scroll effects */
  padding: 1.125rem 0; /* Reduced to 0.75x of 1.5rem */
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 2.2rem; /* Larger font size for brand name */
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.navbar-brand img {
  height: 120px !important; /* 2.5x of original 60px */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  margin-right: 2rem; /* Space between logo and text */
  margin-top: -45px; /* Overflow top */
  margin-bottom: -45px; /* Overflow bottom */
}

.navbar-brand:hover {
  color: var(--silver-grey-primary) !important;
  text-shadow: var(--glow-effect);
}

.navbar-brand:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.nav-link {
  color: var(--text-secondary) !important; /* Default link color */
  font-weight: 500;
  position: relative;
  padding: 0.75rem 1.5rem !important; /* Padding for navigation items */
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent); /* Underline effect */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
  text-shadow: var(--glow-effect);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-primary);
  position: relative; /* For pseudo-elements */
  min-height: 100vh;
  display: flex;
  align-items: center; /* Vertically center content */
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(169, 169, 169, 0.1) 50%, transparent 70%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(169, 169, 169, 0.05) 100px /* Subtle grid pattern */
    );
  animation: scan 8s linear infinite;
  z-index: 1;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem; /* Space below title */
  line-height: 1.1;
  background: var(--gradient-accent); /* Gradient text effect */
  -webkit-background-clip: text; /* Clip background to text */
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
  z-index: 3;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--gradient-accent); /* Underline for title */
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  font-weight: 300; /* Lighter font weight */
  line-height: 1.6;
  z-index: 3;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem; /* Space between buttons */
  flex-wrap: wrap;
  z-index: 3;
  position: relative;
}

.hero-card-homepage {
  max-width: 500px; /* Limit width for better readability */
}

.hero-card {
  background: rgba(26, 26, 26, 0.8); /* Semi-transparent background */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 2.5rem; /* Inner spacing */
  backdrop-filter: blur(20px); /* Frosted glass effect */
  margin-top: 3rem; /* Space from top */
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(169, 169, 169, 0.1), transparent); /* Hover shimmer effect */
  transition: left 0.5s ease;
}

.hero-card:hover::before {
  left: 100%;
}

.hero-card h3 {
  color: var(--text-primary); /* Heading color */
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-card ul {
  list-style: none; /* Remove default list styling */
  padding: 0;
}

.hero-card li {
  padding: 0.75rem 0; /* Padding for list items */
  border-bottom: 1px solid rgba(169, 169, 169, 0.1);
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.hero-card li::before {
  content: '▶';
  position: absolute; /* Custom bullet point */
  left: 0;
  color: var(--silver-grey-primary);
  font-size: 0.8rem;
}

.hero-card li:last-child {
  border-bottom: none;
}

/* Page Header Improvements */
.page-header {
  background: var(--gradient-primary);
  color: var(--text-primary); /* Text color */
  padding: 180px 0 100px; /* Top and bottom padding */
  text-align: center; /* Center align content */
  position: relative; /* For pseudo-elements */
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(169, 169, 169, 0.1) 50%, transparent 70%); /* Dynamic background effect */
  animation: scan 6s linear infinite;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 4rem;
  font-weight: 800; /* Bold font weight */
  margin-bottom: 2rem; /* Space below heading */
  background: var(--gradient-accent); /* Gradient text effect */
  -webkit-background-clip: text; /* Clip background to text */
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .lead {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3rem; /* Space below lead text */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Spacing Improvements */
.container {
  padding-left: 1.5rem; /* Horizontal padding for content */
  padding-right: 1.5rem;
}

section {
  padding: 8rem 0;
}

.py-5 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

/* Blog and Service Page Improvements */
.blog-article,
.service-detail {
  padding: 4rem 0; /* Vertical padding for article sections */
}

.blog-article .container, /* Max width for content within articles */
.service-detail .container {
  max-width: 1200px;
}

.blog-article h1,
.service-detail h1 {
  font-size: 4rem;
  line-height: 1.2; /* Line height for readability */
  margin-bottom: 3rem; /* Space below heading */
}

.blog-article h2,
.service-detail h2 {
  font-size: 3rem;
  margin-top: 5rem; /* Space above heading */
  margin-bottom: 3rem; /* Space below heading */
  color: var(--text-primary);
}

.blog-article h3,
.service-detail h3 {
  font-size: 2.5rem;
  margin-top: 4rem; /* Space above heading */
  margin-bottom: 2.5rem; /* Space below heading */
  color: var(--silver-grey-primary);
}

.blog-article h4,
.service-detail h4 {
  font-size: 2rem;
  margin-top: 3.5rem; /* Space above heading */
  margin-bottom: 2rem; /* Space below heading */
  color: var(--silver-grey-primary);
}

.blog-article p,
.service-detail p {
  font-size: 1.3rem;
  line-height: 2; /* Increased line height for readability */
  margin-bottom: 3rem; /* Space below paragraph */
  color: var(--text-secondary);
}

.blog-article ul,
.blog-article ol,
.service-detail ul,
.service-detail ol {
  margin-bottom: 3.5rem; /* Space below list */
  padding-left: 3rem; /* Indent list items */
}

.blog-article li,
.service-detail li {
  font-size: 1.2rem;
  line-height: 1.9; /* Line height for list items */
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.blog-article .alert,
.service-detail .alert {
  margin: 3rem 0;
  padding: 2rem; /* Inner spacing */
  border-radius: 15px; /* Rounded corners */
  background: var(--gradient-secondary); /* Background gradient */
  border: 1px solid var(--silver-grey-primary); /* Border color */
}

.blog-article blockquote,
.service-detail blockquote {
  margin: 3rem 0;
  padding: 2rem;
  border-left: 4px solid var(--silver-grey-primary);
  background: rgba(26, 26, 26, 0.5); /* Semi-transparent background */
  border-radius: 0 15px 15px 0; /* Rounded corners on right side */
}

.blog-article table,
.service-detail table {
  margin: 3rem 0;
  background: var(--gradient-secondary); /* Background gradient */
  border-radius: 15px; /* Rounded corners */
  overflow: hidden;
}

.blog-article .table th, /* Table header styling */
.service-detail .table th {
  background: var(--silver-grey-primary);
  color: var(--primary-black);
  font-weight: 600;
  padding: 1.5rem;
}

.blog-article .table td, /* Table cell styling */
.service-detail .table td {
  padding: 1.5rem;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  border-radius: 50px; /* Pill-shaped buttons */
  padding: 1rem 2.5rem; /* Inner spacing */
  font-weight: 600; /* Bold text */
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 1px; /* Spaced out letters */
  transition: all 0.3s ease; /* Smooth transitions for hover */
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  z-index: 3;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); /* Shimmer effect on hover */
  transition: left 0.5s ease;
}

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

.btn-primary { /* Primary button styling */
  background: var(--gradient-accent); /* Accent gradient background */
  color: var(--primary-black); /* Dark text for contrast */
  box-shadow: var(--shadow-secondary); /* Subtle shadow */
}

.btn-primary:hover {
  transform: translateY(-3px); /* Lift effect on hover */
  box-shadow: var(--shadow-primary); /* Enhanced shadow on hover */
  color: var(--primary-black); /* Ensure text color remains dark */
}

.btn-outline-light { /* Outline button with light text */
  background: transparent;
  border: 2px solid var(--silver-grey-primary);
  color: var(--silver-grey-primary);
}

.btn-outline-light:hover {
  background: var(--silver-grey-primary); /* Solid background on hover */
  color: var(--primary-black); /* Dark text on hover */
  transform: translateY(-3px); /* Lift effect on hover */
  box-shadow: var(--glow-effect); /* Glow effect on hover */
}

.btn-outline-primary { /* Outline button with primary text color */
  background: transparent;
  border: 2px solid var(--silver-grey-primary);
  color: var(--silver-grey-primary); /* Primary silver grey text */
}

.btn-outline-primary:hover {
  background: var(--silver-grey-primary);
  color: var(--primary-black);
  transform: translateY(-3px);
}

/* Services Section */
.services-overview {
  background: var(--secondary-black);
  position: relative; /* For pseudo-elements */
}

.services-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
}

.service-card {
  background: var(--gradient-secondary); /* Background gradient */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 2.5rem; /* Inner spacing */
  text-align: center; /* Center align content */
  transition: all 0.3s ease; /* Smooth transitions for hover */
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(169, 169, 169, 0.1), transparent); /* Conic gradient effect */
  animation: rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(360deg); }
}

.service-card:hover {
  transform: translateY(-1px); /* Slight lift effect on hover */
  box-shadow: var(--shadow-primary); /* Enhanced shadow on hover */
  border-color: var(--silver-grey-primary); /* Highlight border on hover */
}


.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.service-card h4 {
  color: var(--text-primary); /* Heading color */
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.service-section h2 {
  text-align: center; /* Center align service section headings */
}

.service-card p {
  color: var(--text-secondary); /* Paragraph text color */
  margin-bottom: 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* Team Section */
.team-section {
  background: var(--primary-black);
  position: relative;
}

.team-founder {
  margin-bottom: 4rem;
}

.team-founder .team-card {
  max-width: 800px; /* Increased width for founder */
  margin: 0 auto;
}

.team-card {
  background: var(--gradient-secondary); /* Background gradient */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 3rem; /* Inner spacing */
  transition: all 0.3s ease; /* Smooth transitions for hover */
  position: relative; /* For pseudo-elements */
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(169, 169, 169, 0.05), transparent); /* Subtle background shimmer */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover { /* Lift and highlight on hover */
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
  border-color: var(--silver-grey-primary);
}

.team-photo-container {
    position: relative;
    width: 150px; /* Same as team-photo width */
    height: 150px; /* Same as team-photo height */
    margin: 0 auto 1.5rem;
}

.founder-photo-container {
    width: 200px; /* Larger container for founder's photo */
    height: 200px; /* Adjust height to match width for circular positioning */
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--silver-grey-primary);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
  box-shadow: var(--glow-effect);
}

.certification-logos { /* Container for individual certification logos */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks through */
}

.cert-logo {
    position: absolute; /* Absolute positioning for each logo */
    width: 40px; /* Size of individual logos */
    height: 40px;
    object-fit: contain; /* Ensure logo fits within bounds */
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5); /* Background for visibility */
    padding: 5px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.team-card:hover .cert-logo {
    opacity: 1;
    transform: scale(1.1);
}

/* Positioning for Abhishek's logos (founder) */
.founder-photo-container .cert-logo.cisa-logo { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.founder-photo-container .cert-logo.cism-logo { top: 15%; left: 85%; transform: translate(-50%, -50%); }
.founder-photo-container .cert-logo.crisc-logo { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.founder-photo-container .cert-logo.iso27001-logo { top: 85%; left: 85%; transform: translate(-50%, -50%); }
.founder-photo-container .cert-logo.rsa-archer-logo { top: 100%; left: 50%; transform: translate(-50%, -50%); }
.founder-photo-container .cert-logo.icsi-cnss-logo { top: 85%; left: 15%; transform: translate(-50%, -50%); }

/* Positioning for Shalu's logos */
.shalu-logos .cert-logo.cism-logo { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.shalu-logos .cert-logo.comptia-logo { top: 25%; left: 90%; transform: translate(-50%, -50%); }
.shalu-logos .cert-logo.cc-logo { top: 75%; left: 90%; transform: translate(-50%, -50%); }
.shalu-logos .cert-logo.iso27001-logo { top: 100%; left: 50%; transform: translate(-50%, -50%); }

/* Positioning for Akshita's logos */
.akshita-logos .cert-logo.iso27001-logo { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.akshita-logos .cert-logo.cc-logo { top: 100%; left: 50%; transform: translate(-50%, -50%); }


.team-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.team-role { /* Role text styling */
  color: var(--silver-grey-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.team-bio { /* Biography text styling */
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.team-quote { /* Blockquote styling for team member quotes */
  color: var(--text-secondary);
}

.team-certifications { /* Container for certification badges */
  margin: 2rem 0;
  text-align: center;
}

.certification-badge {
  display: inline-block;
  background: rgba(169, 169, 169, 0.1);
  color: var(--silver-grey-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 0.3rem;
  border: 1px solid rgba(169, 169, 169, 0.3); /* Subtle border */
  font-weight: 600;
}

.team-achievements-text {
  color: var(--text-secondary);
}

.skill-tag {
  display: inline-block;
  background: rgba(169, 169, 169, 0.1);
  color: var(--silver-grey-primary);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  margin: 0.25rem;
  border: 1px solid rgba(169, 169, 169, 0.2);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--silver-grey-primary);
  color: var(--primary-black);
}
.team-intro p {
  color: var(--text-secondary);
}
.btn-linkedin {
  background: var(--gradient-accent);
  color: var(--primary-black);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-linkedin:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-effect);
  color: var(--primary-black);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  position: relative; /* For pseudo-elements */
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(169, 169, 169, 0.1) 0%, transparent 50%), /* Radial gradients for background effect */
    radial-gradient(circle at 70% 70%, rgba(169, 169, 169, 0.1) 0%, transparent 50%); /* Radial gradients for background effect */
}

.cta-section h2 {
  color: var(--text-primary); /* Heading color */
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-section .lead {
  color: var(--text-secondary); /* Lead text color */
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  justify-content: center; /* Center align buttons */
}

/* Social Impact Section */
.social-impact-section {
  background: var(--gradient-secondary);
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.social-impact-section::before {
  content: ''; /* Top border effect */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
}

.social-impact-card {
  background: var(--gradient-primary); /* Background gradient */
  border: 1px solid var(--silver-grey-primary); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 3rem; /* Inner spacing */
  text-align: center; /* Center align content */
  position: relative; /* For pseudo-elements */
  overflow: hidden;
}

.social-impact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(169, 169, 169, 0.1), transparent); /* Conic gradient effect */
  animation: rotate 10s linear infinite;
  opacity: 0.5;
}

.social-impact-card h3 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem; /* Space below heading */
  position: relative;
  z-index: 1;
}

.social-impact-card p {
  color: var(--text-secondary); /* Paragraph text color */
  font-size: 1.1rem; /* Font size */
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Blog Styles */
.blog-card {
  background: var(--gradient-secondary);
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  box-shadow: var(--shadow-secondary); /* Subtle shadow */
  transition: all 0.3s ease; /* Smooth transitions for hover */
  overflow: hidden;
  height: 100%;
  display: flex; /* Flexbox for layout */
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(169, 169, 169, 0.1), transparent); /* Shimmer effect on hover */
  transition: left 0.5s ease;
}

.blog-card:hover::before {
  left: 100%;
}

.blog-card:hover {
  transform: translateY(-10px); /* Lift effect on hover */
  box-shadow: var(--shadow-primary); /* Enhanced shadow on hover */
  border-color: var(--silver-grey-primary); /* Highlight border on hover */
}

.blog-card-header,
.blog-card-body,
.blog-card-footer {
  padding: 2rem; /* Inner spacing */
  position: relative;
  z-index: 1;
}

.blog-card-body {
  flex: 1;
}

.blog-card h3 a {
  color: var(--text-primary); /* Link color */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--silver-grey-primary);
  text-shadow: var(--glow-effect);
}

.blog-meta {
  color: var(--text-muted); /* Muted text color */
  font-size: 0.9rem;
  margin-top: 1rem;
}

.blog-card p {
  color: var(--text-secondary); /* Paragraph text color */
  line-height: 1.7;
}

.tag {
  display: inline-block;
  background: rgba(169, 169, 169, 0.1);
  color: var(--silver-grey-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem; /* Space below tag */
  border: 1px solid rgba(169, 169, 169, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--silver-grey-primary);
  color: var(--primary-black);
}

/* Contact Styles */
.contact-card { /* Contact form card styling */
  background: var(--gradient-secondary); /* Background gradient */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 3rem;
  box-shadow: var(--shadow-secondary);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h5 {
  color: var(--text-primary); /* Heading color */
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p,
.contact-item a { /* Link styling */
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--silver-grey-primary);
  text-shadow: var(--glow-effect);
}

.form-control {
  background: rgba(26, 26, 26, 0.8); /* Semi-transparent background */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 10px; /* Rounded corners */
  color: var(--text-primary); /* Text color */
  padding: 1rem; /* Inner spacing */
  transition: all 0.3s ease; /* Smooth transitions */
}

.form-control:focus {
  background: rgba(26, 26, 26, 0.9);
  border-color: var(--silver-grey-primary);
  box-shadow: 0 0 0 0.2rem rgba(169, 169, 169, 0.25);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  color: var(--text-secondary); /* Label text color */
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--primary-black);
  border-top: 1px solid var(--border-color); /* Top border */
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
}

.footer p { /* Footer paragraph text */
  color: var(--text-secondary); /* Text color */
  margin: 0;
}

.footer-link {
  color: var(--silver-grey-primary); /* Link color */
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
  text-shadow: var(--glow-effect);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent; /* Transparent background */
  padding: 0;
}

.breadcrumb-item {
  color: var(--text-secondary); /* Item text color */
}

.breadcrumb-item a {
  color: var(--silver-grey-primary); /* Link color */
  text-decoration: none; /* Remove underline */
  transition: all 0.3s ease; /* Smooth transition */
}

.breadcrumb-item a:hover { /* Link hover effect */
  color: var(--text-primary);
}

.breadcrumb-item.active {
  color: var(--text-primary);
}

/* Value Items */
.value-item { /* Styling for value proposition items */
  background: var(--gradient-secondary); /* Background gradient */
  padding: 2rem; /* Inner spacing */
  border-radius: 15px; /* Rounded corners */
  margin-bottom: 1.5rem; /* Space below item */
  border: 1px solid var(--border-color); /* Border for definition */
  border-left: 4px solid var(--silver-grey-primary);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-secondary);
}

.value-item h4 {
  color: var(--text-primary); /* Heading color */
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-item p {
  color: var(--text-secondary); /* Paragraph text color */
  margin: 0;
  line-height: 1.6;
}

/* Service Section Styles */
.service-section {
  margin-bottom: 4rem;
}

.service-section .service-card {
  background: var(--gradient-secondary); /* Background gradient */
  border: 1px solid var(--border-color); /* Border for definition */
  border-radius: 20px; /* Rounded corners */
  padding: 3rem; /* Inner spacing */
  position: relative; /* For pseudo-elements */
  overflow: hidden;
}

.service-section .service-card h2 {
  color: var(--text-primary); /* Heading color */
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex; /* Flexbox for alignment */
  align-items: center;
  gap: 1rem;
}

.service-section .service-card h4 {
  color: var(--silver-grey-primary);
  margin-top: 2rem;
  margin-bottom: 1rem; /* Space below heading */
  font-size: 1.3rem;
}

.service-section .service-card p {
  color: var(--text-secondary); /* Paragraph text color */
  line-height: 1.7; /* Line height for readability */
}

/* Social Impact Info Styles */
.social-impact-info {
  background: var(--gradient-secondary);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem; /* Inner spacing */
  margin-top: 2rem;
}

.social-impact-info h4 {
  color: var(--text-primary); /* Heading color */
  margin-bottom: 1rem;
}

.social-impact-info p {
  color: var(--text-secondary); /* Paragraph text color */
  margin: 0;
  line-height: 1.6; /* Line height for readability */
}

/* Team Stats and Achievements */
.team-stats-card {
  transform: translateY(-1px) !important; /* Ensure reduced tilt for this specific card */
}

.team-stats-card:hover {
  transform: translateY(-1px) !important; /* Ensure reduced tilt for this specific card */
} /* Override hover effect for this specific card */

.team-stats h4.text-silver-grey-primary {
  color: var(--silver-grey-primary) !important;
  font-size: 2.5rem;
  font-weight: 700;
}

.team-achievements { /* Container for team achievements */
  margin: 2rem 0;
}

.team-achievements p {
  color: var(--text-secondary); /* Paragraph text color */
  line-height: 1.6; /* Line height for readability */
}

.certification-logos-collective {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.cert-logos-title {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    color: var(--silver-grey-primary);
    font-size: 1.5rem;
}

.cert-logo-collective {
    width: 60px; /* Size of collective logos */
    height: 60px;
    object-fit: contain; /* Ensure image fits within bounds */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 10px; /* Rounded corners */
    padding: 5px; /* Inner spacing */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-logo-collective:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments for Certification Logos */
@media (max-width: 768px) {
    .cert-logo {
        width: 30px;
        height: 30px;
        padding: 3px;
    }
    .founder-photo-container {
        width: 150px;
        height: 150px;
    }
    .cert-logo-collective {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .cert-logo {
        width: 25px;
        height: 25px;
        padding: 2px;
    }
    .cert-logo-collective {
        width: 40px;
        height: 40px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 100px !important; /* Adjust for smaller screens */
    margin-top: -30px; /* Adjust overflow */
    margin-bottom: -30px; /* Adjust overflow */
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header {
    padding: 140px 0 70px;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .hero-card {
    padding: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.6rem;
  } /* Adjust font size for brand */

  .navbar-brand img {
    height: 80px !important; /* Further adjust for smaller screens */
    margin-right: 1.5rem;
    margin-top: -20px;
    margin-bottom: -20px;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .blog-article h1,
  .service-detail h1 { /* Adjust heading sizes for smaller screens */
    font-size: 2.5rem;
  }

  .blog-article h2,
  .service-detail h2 {
    font-size: 2rem;
  }

  .blog-article h3,
  .service-detail h3 {
    font-size: 1.8rem;
  }

  .blog-article h4,
  .service-detail h4 {
    font-size: 1.5rem;
  }

  .blog-article p,
  .service-detail p {
    font-size: 1rem;
  }

  .blog-article ul,
  .blog-article ol,
  .service-detail ul,
  .service-detail ol {
    padding-left: 1.5rem;
  }

  .blog-article li,
  .service-detail li { /* Adjust list item font size */
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
  }
  
  .service-card,
  .team-card,
  .contact-card {
    padding: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  } /* Adjust font size for brand */

  .navbar-brand img {
    height: 60px !important; /* Smallest screen size */
    margin-top: -15px;
    margin-bottom: -15px;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; } /* Pulse effect for loading state */
}

.loading {
  animation: pulse 2s infinite;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px); /* Initial state for fade-in animation */
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-black); /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background: var(--silver-grey-primary); /* Color of the scrollbar thumb */
  border-radius: 4px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-primary); /* Color of the scrollbar thumb on hover */
}

/* Bootstrap overrides for text-primary in blog pages */
.blog-post .text-primary {
    color: var(--silver-grey-primary) !important;
}
