:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-blue: #3576c9;
  --primary-green: #7be738;
  --primary-orange: #ef8413;
  --primary-purple: #9e00f9;
  --primary-red: #ca0028;
  
  /* Light Shades */
  --light-blue: #c1d5e5;
  --light-green: #e8eae5;
  --light-orange: #fff2e6;
  --light-purple: #fcefff;
  --light-red: #f3e2e3;
  
  /* Dark Shades */
  --dark-blue: #2f5381;
  --dark-green: #3aa37a;
  --dark-orange: #ae4026;
  --dark-purple: #7c5dd7;
  --dark-red: #942a35;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #798a93;
  --dark-gray: #43494e;
  --black: #000000;
  
  /* Typography */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 17px;
  --font-size-large: 20px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 19px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  box-shadow: 0 7px 16px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 19px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-blue) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
  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('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1rem;
  padding-top: 2rem;
}

.hero-subtitle {
  font-size: 1.55rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: var(--font-size-large);
  color: var(--medium-gray);
  margin-bottom: 2rem;
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.55rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.section-subtitle {
  font-size: 1.29rem;
  text-align: center;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--font-size-large);
  text-align: center;
  color: var(--medium-gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border-radius: 17px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 9px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.feature-name {
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--medium-gray);
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-green), var(--light-orange));
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 13px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.70rem;
}

.service-name {
  font-size: 1.51rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--medium-gray);
  margin-bottom: 1.68rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.57rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--dark-gray);
}

.service-features li::before {
  content: '\f058';
  font-family: 'FontAwesome';
  color: var(--primary-green);
  margin-right: 0.5rem;
}

.service-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--primary-orange);
}

/* Team Section */
.team-section {
  background: var(--light-purple);
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--primary-blue);
}

.team-name {
  font-size: 1.33rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.62rem;
}

.team-role {
  color: var(--primary-purple);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: var(--light-orange);
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 9px 25px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
  height: 100%;
}

.review-card::before {
  content: '\f10d';
  font-family: 'FontAwesome';
  font-size: 2rem;
  color: var(--primary-orange);
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--white);
  padding: 0 10px;
}

.review-text {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1.57rem;
  line-height: 1.8;
}

.review-author {
  font-weight: 600;
  color: var(--primary-blue);
  text-align: right;
}

/* FAQ Section */
.faq-section {
  background: var(--light-red);
}

.faq-card {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
}

.faq-answer {
  padding: 1.5rem;
  color: var(--dark-gray);
  border-radius: 0 0 10px 10px;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
}

.contact-section .section-title,
.contact-section .section-subtitle,
.contact-section .section-desc {
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.66rem;
}

.form-control {
  border: 2px solid #d7dde3;
  border-radius: 8px;
  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(60, 161, 225, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.contact-info {
  color: var(--white);
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: var(--font-size-large);
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-orange);
}

/* Gallery Section */
.gallery-section {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-gray), var(--black));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: var(--light-gray);
  text-decoration: none;
  margin-bottom: 0.56rem;
}

.footer a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--light-gray);
  text-align: center;
}

.breadcrumb-image {
  max-width: 200px;
  height: auto;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}

.price-card:hover {
  transform: translateY(-8px);
}

.price-name {
  font-size: 1.64rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.64rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1.69rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--dark-gray);
  border-bottom: 1px solid #f0f0f0;
}

.price-features li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  color: var(--primary-green);
  margin-right: 0.5rem;
}

/* Blog Section */
.blog-section {
  background: var(--white);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.37rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--dark-blue);
}

/* Additional utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
}

/* Animation classes for Sal.js */
.sal-animate {
  transition: all 0.5s ease;
}

/* Space page specific */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
  border-radius: 15px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.scroll-to-top i {
  font-size: 1.29rem;
}

/* Navbar Scrolled State */
.navbar-scrolled {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple)) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 500;
  z-index: 1050;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
}

.notification-success {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.notification-error {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.notification-warning {
  background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
}

.notification-info {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

/* Team Modal */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1060;
  display: none;
}

.team-modal-content {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.team-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.52rem;
  cursor: pointer;
  color: var(--medium-gray);
  transition: color 0.3s ease;
}

.team-modal-close:hover {
  color: var(--primary-red);
}

.team-modal-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-blue);
}

.team-modal h3 {
  color: var(--dark-blue);
  margin-bottom: 0.63rem;
}

.team-modal p {
  color: var(--primary-purple);
  font-weight: 500;
}

/* Enhanced Animations */
.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Form Styles */
.form-control.is-invalid {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(193, 7, 21, 0.25);
}

.form-control.is-valid {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(102, 193, 40, 0.25);
}

.invalid-feedback {
  color: var(--primary-red);
  font-size: var(--font-size-small);
  margin-top: 0.48rem;
}

/* Enhanced Button Hover Effects */
.btn:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}



/* Enhanced Accessibility */
.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;
}

/* Focus Styles for Better Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 575.98px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .team-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
