:root {
  /* Primary Color Palette - Leadership Theme */
  --primary-navy: #2d3251;
  --primary-navy-light: #2c3d67;
  --primary-navy-dark: #08121a;
  
  --secondary-gold: #e7a82a;
  --secondary-gold-light: #e6be73;
  --secondary-gold-dark: #cf912e;
  
  --accent-teal: #66b2b5;
  --accent-teal-light: #7aa6a9;
  --accent-teal-dark: #365358;
  
  --accent-gray: #7c8693;
  --accent-gray-light: #b6b9bd;
  --accent-gray-dark: #484f5a;
  
  --accent-white: #f8f9fa;
  --accent-white-light: #ffffff;
  --accent-white-dark: #f5f5f5;
  
  /* Conservative Font Sizes */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --navbar-brand-size: 1.25rem;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-navy);
  background-color: var(--accent-white);
}

/* Conservative Typography */
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: 1.27rem; }
h5 { font-size: 1.24rem; }
h6 { font-size: 1rem; }

.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--accent-white-light) !important;
}

/* Header Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  padding: 1rem 0;
  box-shadow: 0 7px 13px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
  color: var(--accent-white-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-gold) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('../JAY_images/hero-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--accent-white-light);
}

.hero-title {
  font-size: var(--h1-size);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--font-size-large);
  margin-bottom: 1.69rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-base);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section General Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: var(--h2-size);
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: var(--font-size-large);
  color: var(--accent-gray);
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--accent-gray-dark);
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-feature {
  background: linear-gradient(145deg, var(--accent-white) 0%, var(--accent-white-dark) 100%);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 17px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-7px);
}

.about-feature h4 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

/* Services Section */
.services-item {
  background: var(--accent-white-light);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.services-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.services-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.70rem;
}

.services-item-name {
  font-size: var(--h3-size);
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-weight: 600;
}

.services-item-desc {
  color: var(--accent-gray-dark);
  margin-bottom: 1.69rem;
}

.services-item-features {
  color: var(--accent-teal);
  font-size: var(--font-size-small);
  margin-bottom: 1.70rem;
}

.services-item-price {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--secondary-gold);
}

/* Features Section */
.features-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, var(--accent-teal-light) 0%, var(--accent-teal) 100%);
  border-radius: 15px;
  color: var(--accent-white-light);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.features-item:hover {
  transform: scale(1.05);
}

/* Price Plan Section */
.priceplan-item {
  background: var(--accent-white-light);
  border: 2px solid var(--accent-white-dark);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.priceplan-item:hover {
  border-color: var(--secondary-gold);
  transform: translateY(-5px);
}

.priceplan-item-name {
  font-size: var(--h3-size);
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.priceplan-item-price {
  font-size: 2.56rem;
  font-weight: 700;
  color: var(--secondary-gold);
  margin-bottom: 1.73rem;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--secondary-gold);
  margin-bottom: 1rem;
}

.team-member-name {
  font-size: var(--h3-size);
  color: var(--primary-navy);
  margin-bottom: 0.59rem;
}

.team-member-role {
  color: var(--accent-gray);
  font-style: italic;
}

/* Reviews Section */
.reviews-item {
  background: var(--accent-white-light);
  border-left: 4px solid var(--secondary-gold);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.reviews-item-text {
  color: var(--accent-gray-dark);
  font-style: italic;
  margin-bottom: 1rem;
}

.reviews-item-author {
  color: var(--primary-navy);
  font-weight: 600;
  text-align: right;
}

/* Case Study Section */
.casestudy-item {
  background: linear-gradient(145deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
  color: var(--accent-white-light);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.casestudy-item-title {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
}

/* Process Section */
.process-item {
  position: relative;
  padding: 2rem;
  background: var(--accent-white-light);
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

.process-item::before {
  content: counter(process-counter);
  counter-increment: process-counter;
  position: absolute;
  top: -15px;
  left: 2rem;
  background: var(--secondary-gold);
  color: var(--accent-white-light);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-section {
  counter-reset: process-counter;
}

/* Timeline Section */
.timeline-item {
  border-left: 3px solid var(--accent-teal);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  background: var(--secondary-gold);
  border-radius: 50%;
}

/* Career Section */
.career-item {
  background: var(--accent-white-light);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--accent-white-dark);
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.career-item:hover {
  border-color: var(--accent-teal);
}

/* Core Info Section */
.coreinfo-item {
  background: linear-gradient(135deg, var(--accent-white) 0%, var(--accent-white-dark) 100%);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}

/* Contact Section */
.contact-form {
  background: var(--accent-white-light);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--accent-white-dark);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 0.2rem rgba(94, 159, 168, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dark) 100%);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-teal-dark) 0%, var(--primary-navy) 100%);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-item {
  background: var(--accent-white-light);
  border: 1px solid var(--accent-white-dark);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--accent-white-dark);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--secondary-gold-light);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--accent-gray-dark);
  display: none;
}

/* Blog Section */
.blog-item {
  background: var(--accent-white-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-item-content {
  padding: 2rem;
}

.blog-item-title {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  color: var(--accent-gray-dark);
  margin-bottom: 1rem;
}

.blog-item-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 600;
}

.blog-item-link:hover {
  color: var(--accent-teal-dark);
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  color: var(--accent-white-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--accent-white-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-gold);
}

.footer-contact p {
  margin-bottom: 0.59rem;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--accent-white-dark);
}

.breadcrumb-container img {
  height: 20px;
  width: auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Image Size Specifications */
.hero-section img {
  width: 500px;
  height: 400px;
  object-fit: cover;
}

.services-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.blog-item img {
  width: 350px;
  height: 200px;
  object-fit: cover;
}

.gallery img {
  width: 300px;
  height: 250px;
  object-fit: cover;
}

.casestudy-item img {
  width: 400px;
  height: 250px;
  object-fit: cover;
}

/* Additional Production-Ready Styles */

/* Navbar Scrolled State */
.navbar-scrolled {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Loading Animation */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #f03959;
  box-shadow: 0 0 0 0.2rem rgba(236, 58, 50, 0.25);
}

.form-control.is-valid {
  border-color: #22923d;
  box-shadow: 0 0 0 0.2rem rgba(40, 186, 93, 0.25);
}

/* Loading Spinner */
.loader {
  border: 4px solid var(--accent-white-dark);
  border-top: 4px solid var(--accent-teal);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-white-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Button Enhancements */
.btn {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(79, 148, 164, 0.25);
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

/* Skip Links for Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--primary-navy);
  color: var(--accent-white-light);
  text-decoration: none;
}

.skip-link:focus {
  left: 6px;
  top: 7px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
