/* AI-driven YouTube Title Optimizer - Main CSS */
/* Bootstrap 5 Integration + Custom Styles */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  
  /* Light/Dark Shades */
  --primary-light: #a5b4fc;
  --primary-dark: #4338ca;
  --secondary-light: #c4b5fd;
  --secondary-dark: #7c3aed;
  --accent-light: #67e8f9;
  --accent-dark: #0891b2;
  
  /* Neutrals */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --line-height: 1.6;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --border-radius: 0.75rem;
  --border-radius-lg: 1rem;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--text-dark);
  background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Conservative Typography */
h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.875rem; font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
h5 { font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
h6 { font-size: 1rem; font-weight: 500; line-height: 1.5; }

p { margin-bottom: 1rem; color: var(--text-light); }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light-custom { background-color: var(--bg-light); }

/* ===== HEADER STYLES ===== */
.navbar {
  padding: 1rem 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
  opacity: 0.1;
  border-radius: 50% 0 0 50%;
  transform: translateX(50%);
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* ===== CARDS ===== */
.card-custom {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom .card-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-custom .card-text {
  color: var(--text-light);
}

/* ===== SERVICES SECTION ===== */
.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* ===== FEATURES SECTION ===== */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--text-white);
  font-size: 1.5rem;
}

/* ===== TEAM SECTION ===== */
.team-member {
  text-align: center;
  padding: 1rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.team-member h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--primary-color);
  font-weight: 500;
}

/* ===== TESTIMONIALS/REVIEWS ===== */
.review-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.review-text {
  margin-top: 2rem;
  font-style: italic;
  color: var(--text-light);
}

.review-author {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== FAQ SECTION ===== */
.faq-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-card:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-light);
  margin: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--text-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: #9ca3af;
  text-decoration: none;
}

.footer a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* ===== GALLERY SECTION ===== */
.gallery-item {
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ===== PRICE PLAN SECTION ===== */
.price-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border: 3px solid var(--primary-color);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-white);
  padding: 0.5rem 2rem;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.price-features li i {
  color: var(--success-color);
  margin-right: 0.5rem;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Tablet and smaller */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  :root {
    --section-padding: 2rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .service-card, .contact-form {
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
}




/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
