/* ==========================================================================
   Webinar Sentiment Polling SaaS - Main CSS
   Bootstrap 5 Integration + Custom Styles
   ========================================================================== */

/* Import Bootstrap 5 CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES - COLOR PALETTE
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary-color: #595ce7;
  --primary-light: #8da9f2;
  --primary-dark: #3c27b4;
  
  --secondary-color: #138dbb;
  --secondary-light: #51def6;
  --secondary-dark: #14b6bf;
  
  --accent-color: #f7a300;
  --accent-light: #ff970f;
  --accent-dark: #c04900;
  
  --success-color: #1bbe7b;
  --success-light: #8ef9c0;
  --success-dark: #048559;
  
  --danger-color: #f53948;
  --danger-light: #fd9ca6;
  --danger-dark: #e3291f;
  
  /* Neutral Colors */
  --text-dark: #172026;
  --text-light: #565c68;
  --text-muted: #b6b9bd;
  --border-color: #f4f4f5;
  --bg-light: #f9fafb;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--danger-color) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ==========================================================================
   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;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.55rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.80rem; }
h4 { font-size: 1.59rem; }
h5 { font-size: 1.31rem; }
h6 { font-size: 1.20rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.54rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../BAS_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 225px;
}

.hero-title {
  font-size: 3.62rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.73rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.37rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.24rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.59rem;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  font-weight: 500;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  text-transform: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 10px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.64rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.39rem;
  color: var(--text-light);
  margin-bottom: 1.61rem;
}

.section-description {
  font-size: 1.21rem;
  color: var(--text-light);
}

.section-image {
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.section-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
  background: var(--white);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

.card-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.service-card {
  text-align: center;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card .card-img-top {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.service-card .features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-card .features li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.service-card .features li i {
  color: var(--success-color);
  margin-right: 0.5rem;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.56rem;
}

/* ==========================================================================
   TEAM CARDS
   ========================================================================== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-color);
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.64rem;
}

.team-role {
  color: var(--text-light);
  font-size: 1.08rem;
}

/* ==========================================================================
   TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.27rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 1.56rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-card {
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-header {
  background: var(--bg-light);
  border: none;
  padding: 1.5rem 2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  width: 100%;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.faq-header:hover {
  background: var(--primary-color);
  color: var(--white);
}

.faq-header:focus {
  box-shadow: none;
  background: var(--primary-color);
  color: var(--white);
}

.faq-body {
  padding: 0 2rem 1.5rem;
  color: var(--text-light);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.57rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.66rem;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(92, 89, 227, 0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-check-input {
  border: 2px solid var(--border-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-card .btn {
  font-size: 1.03rem;
  padding: 0.5rem 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.73rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.73rem;
  margin-top: 2rem;
  text-align: center;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb {
  background: none;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.bg-light-gradient {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

.border-radius-lg {
  border-radius: 20px;
}

.border-radius-xl {
  border-radius: 24px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* ==========================================================================
   RESPONSIVE DESIGN HELPERS
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.64rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.82rem; }
  h3 { font-size: 1.63rem; }
  
  .contact-form {
    padding: 2rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .testimonial-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.82rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.97rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
} 


/* 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;
    }
}
