/* Remote Work Productivity Software Template - Main CSS */

/* Color Palette - High Contrast Pastel Colors */
:root {
  /* Primary Colors */
  --primary-blue: #5489d6;
  --primary-green: #64c22d;
  --primary-purple: #b010ff;
  --primary-orange: #ffba03;
  --primary-pink: #ff57ab;
  
  /* Light Shades */
  --light-blue: #e1e6eb;
  --light-green: #f2ffd9;
  --light-purple: #e2c6e2;
  --light-orange: #ece0ca;
  --light-pink: #fbf7f8;
  
  /* Dark Shades */
  --dark-blue: #0e50bd;
  --dark-green: #358b46;
  --dark-purple: #75149d;
  --dark-orange: #e66e00;
  --dark-pink: #b52770;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-secondary: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
  --gradient-accent: linear-gradient(135deg, var(--primary-pink), var(--primary-blue));
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 17px;
  --font-size-large: 18px;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-h5: 1.1rem;
  --font-size-h6: 1rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #282828;
  background-color: #fff;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

/* Header Styles */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(17px);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.34rem;
  font-weight: 700;
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-blue) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-purple) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../YUH_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.67rem;
}

.hero-section p {
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.hero-shape:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-24px); }
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-purple);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  color: #525050;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.custom-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-13px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Services Cards */
.service-card {
  text-align: center;
  margin-bottom: 2rem;
}

.service-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 1rem;
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.price-card.featured {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

.price-card.featured .price {
  color: white;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 5px solid var(--light-blue);
}

/* Testimonials */
.testimonial-card {
  background: var(--light-blue);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-family: serif;
}

/* FAQ Section */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background: var(--light-purple);
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-purple);
  margin: 0;
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: var(--primary-purple);
  color: white;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.54rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 1.5rem;
  color: #5a5a5a;
  border-radius: 0 0 10px 10px;
  margin: 0;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--light-blue);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  position: relative;
  display: none;
}

.testimonial-card:first-child {
  display: block;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-family: serif;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  font-size: 1.31rem;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top.visible {
  opacity: 1;
}

/* Navbar Scrolled Effect */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Contact Info Styling */
.contact-info {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

.contact-info i {
  margin-right: 0.75rem;
  color: var(--primary-blue);
  width: 20px;
}

/* Enhanced Hero Section */
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .img-fluid {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-section .img-fluid:hover {
  transform: translateY(-10px);
}

/* Service Cards Enhancement */
.service-card .custom-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .custom-card .service-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 2px solid var(--light-green);
}

/* Team Photos Enhancement */
.team-photo {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Process Steps Enhancement */
.process-item {
  position: relative;
}

.process-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50px;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateY(-50%);
}

.process-item:last-child::after {
  display: none;
}

@media (max-width: 991.98px) {
  .process-item::after {
    display: none;
  }
}

/* Gallery Lightbox Effect */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(69, 157, 216, 0.80);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item::after {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s infinite;
}

/* Smooth Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form */
.contact-form {
  background: var(--light-blue);
  border-radius: 20px;
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-control {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(69, 140, 212, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-primary);
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #ef292c;
  box-shadow: 0 0 0 0.2rem rgba(241, 57, 91, 0.25);
}

.form-control.is-valid {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(110, 234, 40, 0.25);
}

.btn-success {
  background: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
}

.btn-success:hover {
  background: var(--dark-green) !important;
  border-color: var(--dark-green) !important;
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-blue);
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

/* Image Placeholder Styles */
.img-placeholder {
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-weight: 600;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
