/* Voice-Activated Note-Taking Hardware Website */
/* Main CSS - Bootstrap 5 Based */

/* Color Variables */
:root {
  --primary-color: #704cd7;
  --primary-light: #9f97fe;
  --primary-dark: #6931c6;
  --secondary-color: #03a46f;
  --secondary-light: #41daa5;
  --secondary-dark: #00a299;
  --accent-color: #f88cc2;
  --accent-light: #ef7a9e;
  --accent-dark: #db3197;
  --neutral-color: #6b9cff;
  --neutral-light: #80f8e9;
  --neutral-dark: #179dd9;
  --success-color: #06b6a2;
  --success-light: #64dcc9;
  --success-dark: #089469;
  --light-bg: #f8f9fa;
  --dark-bg: #41484c;
  --text-primary: #282f31;
  --text-secondary: #4b545c;
  --text-light: #bdc8d2;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-bg);
}

/* Conservative Font Sizes */
h1 { font-size: 2.33rem; font-weight: 700; }
h2 { font-size: 1.90rem; font-weight: 600; }
h3 { font-size: 1.53rem; font-weight: 600; }
h4 { font-size: 1.28rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

.navbar-brand {
  font-size: 1.61rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Progress Bar (Nanobar) */
#nanobar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: var(--primary-color);
  box-shadow: 0 0 13px var(--primary-light);
}

#nanobar .bar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  height: 100%;
  transition: width 0.3s ease;
}

/* Navbar Scrolled State */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

/* Lazy Loading Images */
.lozad {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lozad.loaded {
  opacity: 1;
}

/* No WebP Fallback */
.no-webp .lozad[data-src*=".webp"] {
  content: url('../CLO_images/placeholder.jpg');
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #df2427;
  box-shadow: 0 0 0 0.2rem rgba(204, 67, 93, 0.25);
}

.form-control.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 179, 139, 0.25);
}

.invalid-feedback {
  display: block;
  color: #d53745;
  font-size: 0.99rem;
  margin-top: 0.47rem;
}

.form-check-input.is-invalid {
  border-color: #ce2b23;
}

.form-check-input.is-invalid ~ .form-check-label {
  color: #cb3a55;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(144, 106, 250, 0.10) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 175px;
}

.hero-title {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.21rem;
  margin-bottom: 1.70rem;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: white;
}

.service-card {
  background: white;
  border-radius: 19px;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-bg), white);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.57rem;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: white;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h5 {
  margin-bottom: 0.60rem;
  color: var(--text-primary);
}

.team-member p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: white;
}

.faq-card {
  background: white;
  border: 1px solid #d8e1ea;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.66rem;
}

.faq-answer {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.gallery-item {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item a {
  display: block;
  position: relative;
}

.gallery-item a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(111, 108, 228, 0.70);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  z-index: 1;
}

.gallery-item a::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 a::before,
.gallery-item:hover a::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox2 Customizations */
.lightbox {
  background: rgba(0, 0, 0, 0.9);
}

.lb-outerContainer {
  border-radius: 8px;
  overflow: hidden;
}

.lb-data .lb-caption {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #fff;
}

.lb-data .lb-number {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-bg), var(--text-primary));
  color: white;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form .form-control {
  border-radius: 8px;
  border: 2px solid #e0e7ef;
  padding: 0.875rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(112, 76, 215, 0.15);
  background: white;
}

.contact-form .form-control::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

.contact-form .form-check-label {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-form .btn {
  border-radius: 8px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h4 {
  margin-bottom: 2rem;
  color: white;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1.05rem;
}

.contact-info i {
  color: var(--accent-color);
  margin-right: 0.75rem;
  width: 20px;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 40px 0 20px;
}

.footer h6 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

/* Utility Classes */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
  background: none;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb img {
  width: 20px;
  height: 20px;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--light-bg);
  border-radius: 12px;
  margin: 2rem 0;
}

/* Alert Messages */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: rgba(17, 196, 181, 0.10);
  color: var(--success-dark);
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background-color: rgba(234, 37, 37, 0.10);
  color: #781a31;
  border-left: 4px solid #dd2131;
}

/* No Flexbox Fallback */
.no-flexbox .hero-section {
  display: block;
  padding: 100px 0;
}

.no-flexbox .feature-icon {
  display: block;
  margin: 0 auto 1rem;
}

/* No CSS Animations Fallback */
.no-cssanimations .hero-section::before {
  animation: none;
}

.no-cssanimations .service-card:hover {
  transform: none;
}

.no-cssanimations .gallery-item:hover img {
  transform: none;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  #nanobar,
  .btn,
  .gallery-section {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section {
    background: white !important;
    min-height: auto !important;
  }
  
  .contact-section {
    background: white !important;
    color: black !important;
  }
} 


/* 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;
    }
}
