/* AI-Assisted Storyboard Generator Template - Main CSS */

/* Color Palette - 5 primary colors with light/dark shades */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-blue: #704ed1;
  --primary-green: #00a874;
  --primary-purple: #8c87f6;
  --primary-orange: #ff6499;
  --primary-cyan: #00d5d6;
  
  /* Light Shades */
  --light-blue: #c3dae6;
  --light-green: #d9fedb;
  --light-purple: #f3f2ff;
  --light-orange: #fff0f5;
  --light-cyan: #d3f8f6;
  
  /* Dark Shades */
  --dark-blue: #415061;
  --dark-green: #1e2b3a;
  --dark-purple: #5e3aa4;
  --dark-orange: #d14494;
  --dark-cyan: #0a6d75;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #fcfdfe;
  --gray-200: #ececec;
  --gray-300: #c1d0e3;
  --gray-400: #c3c4c4;
  --gray-500: #757b7e;
  --gray-600: #34393e;
  --gray-700: #3e4044;
  --gray-800: #2c3135;
  --gray-900: #000000;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

h1 { font-size: 2.36rem; }
h2 { font-size: 1.94rem; }
h3 { font-size: 1.59rem; }
h4 { font-size: 1.37rem; }
h5 { font-size: 1.16rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Header Styles */
.navbar {
  background: var(--white);
  box-shadow: 0 9px 19px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.54rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--gray-600);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(122, 95, 227, 0.10)" stroke-width="0.5"/></svg>');
  animation: rotate 60s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1.79rem;
}

.hero p {
  font-size: 1.21rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.62rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.17rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--gray-50);
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 7px solid var(--gray-100);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.90rem;
}

.service-card h4 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 1.60rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 1rem;
}

/* Price Plan Section */
.price-plan {
  background: var(--light-blue);
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card h4 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.price-card li {
  padding: 0.5rem 0;
  color: var(--gray-600);
}

/* Team Section */
.team {
  background: var(--white);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-blue);
}

.team-member h5 {
  color: var(--dark-blue);
  margin-bottom: 0.88rem;
}

.team-member p {
  color: var(--primary-blue);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: var(--gray-50);
}

.review-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.review-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.review-card h6 {
  color: var(--primary-blue);
  font-weight: 600;
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-card {
  background: var(--light-purple);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.79rem;
}

.faq-card h5 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.faq-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Gallery Section */
.gallery {
  background: var(--gray-50);
}

.gallery-item {
  margin-bottom: 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);
}

/* Contact Section */
.contact {
  background: var(--white);
}

.contact-form {
  background: var(--light-blue);
  border-radius: 15px;
  padding: 2.5rem;
}

.contact-form .form-control {
  border: 6px solid var(--gray-200);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(80, 73, 234, 0.25);
}

.contact-info {
  padding: 2rem;
}

.contact-info h5 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 0.95rem;
}

/* Blog Section */
.blog {
  background: var(--gray-50);
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card h5 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--gray-400);
  margin-bottom: 0.98rem;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-50);
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-primary { background-color: var(--primary-blue); }
.bg-light { background-color: var(--gray-50); }
.bg-dark { background-color: var(--dark-blue); }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--gray-600); }
.text-dark { color: var(--dark-blue); }
.text-light { color: var(--gray-400); }

/* Animations with Sal.js */
[data-sal] {
  transition-duration: 0.5s;
}

/* Additional Page Styles */
.page-section {
  padding: 4rem 0;
}

.page-section:nth-child(even) {
  background: var(--gray-50);
}

.page-section h2 {
  color: var(--dark-blue);
  margin-bottom: 2rem;
}

.page-section p {
  color: var(--gray-600);
  margin-bottom: 1.73rem;
}

.page-element {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.87rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-element h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--light-cyan) 0%, var(--light-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


/* Contact Item Styles */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.93rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background: var(--light-blue);
}

.contact-item i {
  margin-right: 1rem;
  margin-top: 0.67rem;
  font-size: 1.31rem;
}

.contact-item div {
  flex: 1;
}

.contact-item strong {
  color: var(--dark-blue);
  font-weight: 600;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--gray-600);
}

/* Contact Card Styles */
.contact-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(100, 97, 222, 0.15);
}

.contact-card h5 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
  font-weight: 500;
}

/* Navbar Scrolled State */
.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .navbar-brand {
  font-size: 1.37rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(116, 104, 222, 0.30);
}

.back-to-top:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 64, 209, 0.40);
}

.back-to-top:active {
  transform: translateY(0);
}

/* Breadcrumb Improvements */
.breadcrumb {
  background: var(--gray-50);
  padding: 2rem 0;
  margin-top: 80px;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 28px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.breadcrumb-item:hover img {
  transform: scale(1.1);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  margin: 0 0.5rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.3s ease;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
  color: var(--white);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  position: relative;
}

.alert-success {
  background: var(--light-green);
  color: var(--dark-green);
  border-left: 4px solid var(--primary-green);
}

.alert-danger {
  background: var(--light-orange);
  color: var(--dark-orange);
  border-left: 4px solid var(--primary-orange);
}

.alert .btn-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem;
  background: none;
  border: none;
  font-size: 1.27rem;
  cursor: pointer;
  opacity: 0.7;
}

.alert .btn-close:hover {
  opacity: 1;
}

/* Form Enhancements */
.form-control.is-invalid {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(249, 133, 189, 0.25);
}

.form-control.is-valid {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 173, 151, 0.25);
}

.invalid-feedback {
  color: var(--primary-orange);
  font-size: 1.00rem;
  margin-top: 0.46rem;
}

.valid-feedback {
  color: var(--primary-green);
  font-size: 0.89rem;
  margin-top: 0.50rem;
}

/* Team Section Improvements */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.team-member:hover img {
  border-color: var(--primary-green);
  transform: scale(1.05);
}

/* Section Alternating Backgrounds */
.casestudy {
  background: var(--gray-50);
}

.process {
  background: var(--white);
}

.timeline {
  background: var(--gray-50);
}

.career {
  background: var(--white);
}

.coreinfo {
  background: var(--gray-50);
}

/* Utility Classes */
.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.rounded {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.border-primary {
  border-color: var(--primary-blue);
}

.border-light {
  border-color: var(--gray-200);
}

/* Print Improvements */
@media print {
  .back-to-top,
  .skip-link {
    display: none !important;
  }
  
  .contact-item,
  .contact-card {
    break-inside: avoid;
  }
  
  .team-member {
    break-inside: avoid;
  }
  
  .feature-card,
  .service-card,
  .price-card {
    break-inside: avoid;
  }
} 

/* Screen Reader Only */
.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 visible for better keyboard navigation */
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 4px;
}

/* Enhanced loading animation */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
