/* Career Transition Coaching Template - Main CSS */

/* ===== COLOR PALETTE ===== */
:root {
  /* Primary Colors */
  --primary-navy: #25384d;
  --primary-teal: #1ab9b2;
  --primary-coral: #d65411;
  --primary-lavender: #9468b8;
  --primary-sage: #35c56b;
  
  /* Light Shades */
  --light-navy: #466073;
  --light-teal: #1bb4a4;
  --light-coral: #f68321;
  --light-lavender: #7b3c99;
  --light-sage: #26cd56;
  
  /* Dark Shades */
  --dark-navy: #1c262d;
  --dark-teal: #088f87;
  --dark-coral: #e4570e;
  --dark-lavender: #993ca6;
  --dark-sage: #249c67;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #666a70;
  --dark-gray: #38404d;
  --black: #000000;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Conservative base font size */
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

h1 {
  font-size: 2.63rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.86rem;
}

h4 {
  font-size: 1.65rem;
}

h5 {
  font-size: 1.35rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem; /* Conservative paragraph size */
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--light-navy) 100%);
  padding: 1rem 0;
  box-shadow: 0 8px 19px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.55rem !important; /* Conservative logo size */
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-teal) !important;
}

/* ===== MOBILE MENU TOGGLE ===== */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 3px;
  background-color: var(--white);
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

.navbar-toggler.active .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.active .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--light-navy) 100%);
    margin-top: 1rem;
    border-radius: 15px;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* ===== HERO SECTION ===== */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../XAR_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.73rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.36rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.18rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* ===== SECTION STYLING ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.55rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.section-subtitle {
  font-size: 1.32rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-teal);
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.13rem;
  color: var(--gray);
}

/* ===== CARDS & ITEMS ===== */
.service-card, .feature-card, .price-card, .review-card, .faq-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--light-gray);
}

.service-card:hover, .feature-card:hover, .price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img, .feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.57rem;
}

.price-tag {
  background: linear-gradient(135deg, var(--primary-coral) 0%, var(--light-coral) 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ===== TEAM SECTION ===== */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-teal);
}

/* ===== REVIEWS SLIDER ===== */
.review-card {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--light-lavender) 100%);
  color: var(--white);
  text-align: center;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.62rem;
  font-size: 1.16rem;
}

.review-author {
  font-weight: 600;
  color: var(--light-gray);
}

/* ===== FAQ SECTION ===== */
.faq-card {
  border-left: 4px solid var(--primary-teal);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.60rem;
}

.faq-answer {
  color: var(--gray);
  padding-left: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.58rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(9, 158, 137, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 80px;
}

.footer a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-teal);
}

.footer-title {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ===== UTILITY CLASSES ===== */
.text-primary-navy { color: var(--primary-navy); }
.text-primary-teal { color: var(--primary-teal); }
.text-primary-coral { color: var(--primary-coral); }
.text-primary-lavender { color: var(--primary-lavender); }
.text-primary-sage { color: var(--primary-sage); }

.bg-primary-navy { background-color: var(--primary-navy); }
.bg-primary-teal { background-color: var(--primary-teal); }
.bg-primary-coral { background-color: var(--primary-coral); }
.bg-primary-lavender { background-color: var(--primary-lavender); }
.bg-primary-sage { background-color: var(--primary-sage); }

.gradient-bg {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-sage) 100%);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-container {
  padding: 1rem 0;
  background-color: var(--light-gray);
}

.breadcrumb-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ===== PROCESS STEPS ===== */
.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 1.60rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(36, 171, 140, 0.30);
}

.process-steps .feature-card {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.process-steps .feature-card:hover {
  transform: translateY(-5px);
}

/* ===== ANIMATION CLASSES ===== */
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FAQ ACTIVE STATE ===== */
.faq-card.active {
  border-left-color: var(--primary-coral);
  background-color: var(--light-gray);
}

.faq-card.active .faq-question {
  color: var(--primary-coral);
}

.faq-answer {
  display: none;
}

/* ===== NAVBAR SCROLLED STATE ===== */
.navbar.scrolled {
  background: linear-gradient(135deg, rgba(43, 57, 70, 0.95) 0%, rgba(57, 88, 104, 0.95) 100%);
  backdrop-filter: blur(10px);
}

/* ===== FORM VALIDATION STYLES ===== */
.form-control.is-invalid {
  border-color: #ca2a4d;
  box-shadow: 0 0 0 0.2rem rgba(212, 69, 72, 0.25);
}

.form-control.is-valid {
  border-color: #2e9942;
  box-shadow: 0 0 0 0.2rem rgba(47, 157, 62, 0.25);
}

/* ===== LOADING STATES ===== */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== HOVER IMPROVEMENTS ===== */
.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-teal);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background-color: var(--primary-teal);
  color: var(--white);
  text-decoration: none;
  z-index: 9999;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-navy);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
