:root {
  /* Color Palette - High contrast pastels */
  --primary-color: #7843ec; /* Purple */
  --primary-light: #b78dfc;
  --primary-dark: #5d2af9;
  
  --secondary-color: #15e0e9; /* Cyan */
  --secondary-light: #51d2fa;
  --secondary-dark: #1091c9;
  
  --accent-color: #fbb800; /* Amber */
  --accent-light: #ffda56;
  --accent-dark: #d18f00;
  
  --success-color: #11b374; /* Emerald */
  --success-light: #65d8b8;
  --success-dark: #0aab66;
  
  --tertiary-color: #f04b50; /* Red */
  --tertiary-light: #f6abaa;
  --tertiary-dark: #f42540;
  
  --bg-light: #FEFEFE;
  --bg-dark: #1d2631;
  --text-dark: #182437;
  --text-light: #596276;
  --text-white: #FFFFFF;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--success-color));
  --gradient-hero: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 16px;
}

/* Typography */
h1 {
  font-size: 2.64rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.83rem;
}

h3 {
  font-size: 1.59rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.61rem;
}

h4 {
  font-size: 1.38rem;
  font-weight: 500;
  margin-bottom: 0.69rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Header */
.navbar-brand {
  font-size: 1.58rem !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(19px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../BED_images/hero-bg.webp') center/cover;
  opacity: 0.3;
}

.hero-content h1 {
  padding-top: 50px !important;
  font-size: 3rem;
  margin-bottom: 1.74rem;
}

.hero-content p {
  font-size: 1.34rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Sections */
section {
  padding: 5rem 0;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  border: none;
  border-radius: 110px;
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 2rem;
  color: var(--text-white);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 1rem 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
  background: var(--bg-light);
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-color);
  display: block;
}

.team-member h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-slider {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  padding: 4rem 0;
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.20rem;
  margin-bottom: 1.70rem;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQ */
.faq-item {
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  border-bottom: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background-color: rgba(143, 102, 255, 0.10);
}

.faq-question.active {
  background-color: rgba(149, 101, 230, 0.20);
}

.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 {
  content: '';
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  border-top: none;
  display: none;
  line-height: 1.6;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-info h4 {
  color: var(--primary-color);
  margin-bottom: 1.63rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 0.75rem;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 1.62rem;
}

.form-control {
  border: 3px solid #dcdee4;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-primary);
}

/* Additional button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-white);
}

/* Image responsive */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.rounded {
  border-radius: 0.375rem;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #374051;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Additional page styles */
.page-section {
  padding: 4rem 0;
  border-bottom: 1px solid #d5e3f3;
}

.page-section:last-child {
  border-bottom: none;
}

/* Missing section styles */
.section {
  padding: 5rem 0;
}

/* Element styles for features and other grid items */
.element-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

/* Row and column spacing */
.row {
  margin-bottom: 2rem;
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.element-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.element-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.60rem;
}

/* Space page */
#space {
  min-height: 70vh;
  background: var(--gradient-accent);
  border-radius: 20px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 2rem;
  font-weight: 600;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
