/* Regno Website Styles */
html {
  scroll-behavior: smooth;
}

body {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  padding: 0 1.5rem; /* Horizontal padding only */
  padding-top: 6rem; /* Add space for sticky header */
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  background-color: black;
}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem; /* Add internal padding */
  box-sizing: border-box; /* Include padding in width calculation */
}

.sticky-header {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('background.gif');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.5;
  z-index: -1;
}

/* Pricing page specific styling */
body.pricing-page {
  padding-top: 6rem; /* Same as main page */
}

/* Standardized Typography */
.title-text {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1.2;
}

.secondary-header {
  font-size: 2rem; /* 32px - 80% of title-text (2.5rem) */
  font-weight: 650;
  line-height: 1.25;
}

.header-text {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  line-height: 1.3;
}

.body-text {
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.6;
}

/* Standardized Section Spacing */
.section-spacing {
  padding: 3rem 2rem;
}

.section-bg {
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Ensure all sections are contained */
section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Section Header Accent Line */
.section-header {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1px;
  background-color: #9CA3AF; /* Gray-400 */
}

.logo {
  width: 10vw;
}

.insight-logo {
  width: 15vw;
  min-width: 120px;
  max-width: 300px;
}

.team-photo {
  width: 50%;
  height: auto;
  aspect-ratio: 1; /* Force square aspect ratio */
  object-fit: contain; /* Fit entire image within circle without cropping */
  background-color: white; /* White background behind the image */
  image-rendering: -webkit-optimize-contrast; /* Improve rendering quality */
  image-rendering: crisp-edges; /* Better edge rendering */
}

.team-placeholder {
  width: 50%;
  aspect-ratio: 1;
}

/* Team member card styling */
#meet-the-team .bg-black\/50 {
  border: 1px solid rgba(156, 163, 175, 0.5); /* Gray outline with 0.5 opacity */
}

.team-scroll {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #4B5563 transparent;
}

.team-carousel {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.team-carousel::-webkit-scrollbar {
  display: none; /* WebKit */
}

.team-scroll::-webkit-scrollbar {
  height: 8px;
}

.team-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.team-scroll::-webkit-scrollbar-thumb {
  background-color: #4B5563;
  border-radius: 4px;
}

.team-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #6B7280;
}

.team-carousel {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.team-carousel::-webkit-scrollbar {
  display: none; /* WebKit */
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(30, 144, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
  left: -25px;
}

.carousel-arrow-right {
  right: -25px;
}

/* Button Styles */
.cta-button {
  background: #1e90ff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.cta-button:hover {
  background: #0066cc;
  transform: translateY(-2px);
}

/* Accent Colors */
.accent-border {
  border-color: #1e90ff;
}

.accent-bg {
  background-color: #1e90ff;
}

.accent-text {
  color: #1e90ff;
}

/* Sticky Header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Navigation Link Hover Effects */
.desktop-nav a, .mobile-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.desktop-nav a:hover, .mobile-nav a:hover {
  background-color: rgba(30, 144, 255, 0.6);
  color: white;
  transform: translateY(-1px);
}

/* Active/Clicked state with full opacity */
.desktop-nav a:active, .mobile-nav a:active,
.desktop-nav a.active, .mobile-nav a.active {
  background-color: #1e90ff;
  color: white;
  transform: translateY(0);
}

/* Special styling for LinkedIn icon */
.desktop-nav a[aria-label="LinkedIn"]:hover, 
.mobile-nav a[aria-label="LinkedIn"]:hover {
  background-color: rgba(30, 144, 255, 0.6);
  color: white;
}

.desktop-nav a[aria-label="LinkedIn"]:active, 
.mobile-nav a[aria-label="LinkedIn"]:active {
  background-color: #1e90ff;
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 144, 255, 0.4);
  opacity: 1 !important;
}

.back-to-top:active {
  transform: translateY(0);
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid #374151;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 1rem 0;
  border-bottom: 1px solid #374151;
  text-align: center;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Media query for screens under 450px */
@media (max-width: 449px) {
  .hamburger {
    display: flex;
  }
  
  .desktop-nav {
    display: none;
  }
  
  body {
    padding: 0 0.75rem; /* Reduced padding for mobile */
    padding-top: 6rem;
  }
  
  .main-container {
    padding: 0 0.5rem; /* Reduced internal padding for mobile */
  }
  
  header {
    position: relative;
  }
}