/* 
 * Webinar Polling SaaS Template - Main CSS
 * Bootstrap 5 Integration with Custom Design System
 */

/* Import Bootstrap 5 CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ========================================
   CSS VARIABLES - COLOR PALETTE
   ======================================== */
:root {
  /* Primary Color Palette (5 colors + shades) */
  --primary-blue: #4d54e8;
  --primary-blue-light: #9eb3ff;
  --primary-blue-dark: #333eb3;
  
  --primary-purple: #7d48e6;
  --primary-purple-light: #b5a2e9;
  --primary-purple-dark: #4219be;
  
  --primary-teal: #00818b;
  --primary-teal-light: #64e6e0;
  --primary-teal-dark: #09545d;
  
  --primary-orange: #ff4100;
  --primary-orange-light: #ffa162;
  --primary-orange-dark: #bf4719;
  
  --primary-pink: #e82c96;
  --primary-pink-light: #eda7c7;
  --primary-pink-dark: #c82370;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #f2f2f2;
  --gray-300: #d1dbec;
  --gray-400: #93979d;
  --gray-500: #64686d;
  --gray-600: #3b404a;
  --gray-700: #2a3139;
  --gray-800: #14171f;
  --gray-900: #070912;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-secondary: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  --gradient-accent: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
  --gradient-hero: linear-gradient(135deg, var(--primary-blue-light), var(--primary-purple-light));
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px;
  --section-padding-sm: 60px;
  
  /* Transitions */
  --transition-base: 0.3s ease-in-out;
  --transition-fast: 0.15s ease-in-out;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.59rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.79rem;
}

h4 {
  font-size: 1.62rem;
}

h5 {
  font-size: 1.31rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  transition: var(--transition-base);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.60rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-blue-dark);
}

.navbar-nav .nav-link {
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../DIG_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.hero-content p {
  font-size: 1.29rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 27px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  font-family: var(--font-secondary);
  font-weight: 500;
  padding: 18px 24px;
  border-radius: 8px;
  transition: var(--transition-base);
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: 4px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 20px rgba(82, 58, 253, 0.30);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.14rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.68rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: var(--gray-50);
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 19px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.67rem;
  object-fit: cover;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-features li:last-child {
  border-bottom: none;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* ========================================
   PRICE PLAN SECTION
   ======================================== */
.priceplan {
  background: var(--gradient-secondary);
  color: var(--white);
}

.priceplan .section-title h2,
.priceplan .section-subtitle {
  color: var(--white);
}

.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 17px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  margin-bottom: 2rem;
  color: var(--gray-700);
}

.price-card:hover {
  transform: translateY(-13px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
  transform: scale(1.05);
  border: 4px solid var(--primary-orange);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.price-features li:last-child {
  border-bottom: none;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team {
  background: var(--gray-50);
}

.team-member {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-blue-light);
}

.team-member h5 {
  color: var(--gray-900);
  margin-bottom: 0.73rem;
}

.team-role {
  color: var(--primary-blue);
  font-weight: 500;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: var(--transition-base);
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 19px 30px rgba(0, 0, 0, 0.1);
}

.review-author {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.68rem;
}

.review-text {
  font-style: italic;
  color: var(--gray-600);
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */
.casestudy {
  background: var(--gray-50);
}

.casestudy-item {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: var(--transition-base);
}

.casestudy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process {
  counter-reset: step-counter;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline {
  background: var(--gray-50);
}

.timeline-item {
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-blue);
  transition: var(--transition-base);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CAREER SECTION
   ======================================== */
.career-item {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: var(--transition-base);
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.career-role {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.61rem;
}

/* ========================================
   CORE INFO SECTION
   ======================================== */
.coreinfo {
  background: var(--gray-50);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: var(--gradient-primary);
  color: var(--white);
}

.contact .section-title h2,
.contact .section-subtitle {
  color: var(--white);
}

.contact-form {
  background: var(--gray-300);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 6px rgba(97, 78, 241, 0.10);
}

.form-label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.58rem;
}

.form-control.is-invalid {
  border-color: #cd3355;
  box-shadow: 0 0 0 3px rgba(225, 43, 89, 0.10);
}

.form-control.is-valid {
  border-color: #3cb75a;
  box-shadow: 0 0 0 3px rgba(46, 170, 80, 0.10);
}

.invalid-feedback {
  color: #c6292e;
  font-size: 0.94rem;
  margin-top: 0.49rem;
}

.valid-feedback {
  color: #34bb53;
  font-size: 0.89rem;
  margin-top: 0.34rem;
}

.contact-info {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.contact-info i {
  font-size: 2rem;
  color: var(--primary-blue-light);
  margin-bottom: 1rem;
  display: block;
}

.contact-info p {
  color: var(--white);
  margin: 0;
  font-weight: 500;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog {
  background: var(--gray-50);
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.37rem;
  font-weight: 600;
  margin-bottom: 0.57rem;
}

.blog-excerpt {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}



/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
  background: var(--gray-50);
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer a:hover {
  color: var(--primary-blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
  border-radius: 16px;
}

/* ========================================
   BREADCRUMB STYLES
   ======================================== */
.breadcrumb-nav {
  background: var(--gray-50);
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  transition: var(--transition-base);
}

.breadcrumb-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item:not(:last-child)::after {
  content: '>';
  color: var(--gray-400);
  margin-left: 0.5rem;
  font-weight: 500;
}

/* ========================================
   SPACE PAGE
   ======================================== */
#space {
  min-height: 60vh;
  background: var(--gray-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.space-content {
  padding: 4rem 0;
  text-align: center;
}

.space-content h1 {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.space-content p {
  color: var(--gray-600);
  font-size: 1.21rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--section-padding-sm) 0;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .process-step::before {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 1rem;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
