/* ====================
   7 C'S OF CONSULTANCY METHODOLOGY - PAGE STYLES
   Fully Responsive
   ==================== */

/* CSS Variables */
:root {
  --primary: #0c84c0;
  --primary-dark: #0c5e7a;
  --primary-light: #e1f0f7;
  --secondary: #10b981;
  --secondary-dark: #0d9c6e;
  --accent: #8b5cf6;
  --accent-dark: #7c3aed;
  --gold: #f59e0b;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.seven-cs-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.seven-cs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path fill="white" d="M50,10 L60,40 L90,40 L65,60 L75,90 L50,70 L25,90 L35,60 L10,40 L40,40 Z"/></svg>') repeat;
  background-size: 50px;
  pointer-events: none;
}

.seven-cs-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.methodology-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-text h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: #a5f3fc;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  max-width: 550px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.hero-trust-badges i {
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Quick Navigation */
.quick-nav {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 80px;
  z-index: 98;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.quick-nav-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--light);
  border-radius: 2rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.nav-card i {
  color: var(--accent);
  font-size: 0.9rem;
}

.nav-card:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  border-color: var(--accent);
}

.nav-card:hover i {
  color: white;
}

.nav-card.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.nav-card.active i {
  color: white;
}

/* Article Content */
.article-content {
  padding: 3rem 0;
}

.content-wrapper {
  display: flex;
  gap: 3rem;
}

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
}

/* Article Intro */
.article-intro {
  margin-bottom: 2rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

.intro-quote {
  background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.intro-quote i {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.7;
}

.intro-quote i:first-child {
  margin-right: 0.5rem;
}

.intro-quote i:last-child {
  margin-left: 0.5rem;
}

.intro-quote p {
  display: inline;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
}

/* Section Styles */
.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.content-section h2 i {
  color: var(--accent);
  font-size: 1.6rem;
}

/* 7 C's Cards */
.cs-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.cs-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cs-content {
  flex: 1;
}

.cs-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cs-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.cs-header h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 0;
}

.cs-content > p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cs-ai-feature {
  background: var(--light);
  padding: 1rem;
  border-radius: 0.75rem;
  margin: 1rem 0;
  border-left: 3px solid var(--accent);
}

.cs-ai-feature h4 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cs-ai-feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-ai-feature li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--gray);
}

.cs-ai-feature li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.cs-result {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cs-result i {
  color: var(--accent);
  font-size: 1rem;
}

.cs-result span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
}

/* Ecosystem Section */
.ecosystem-section {
  background: linear-gradient(135deg, var(--light), #f1f5f9);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.eco-card {
  background: var(--white);
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.eco-card:hover {
  transform: translateX(5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.eco-card i {
  font-size: 1.5rem;
  color: var(--accent);
  width: 2rem;
}

.eco-card div {
  flex: 1;
}

.eco-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem 0;
  color: var(--dark);
}

.eco-card p {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
}

.eco-card .arrow {
  color: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.eco-card:hover .arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Advantage Section */
.advantage-section {
  margin: 2rem 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.advantage-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.advantage-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.advantage-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.advantage-card p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

/* Conclusion Section */
.conclusion-section {
  margin: 2rem 0;
}

.conclusion-card {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  text-align: center;
}

.conclusion-card p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.conclusion-quote {
  margin-top: 1rem;
  padding: 1rem;
  position: relative;
}

.conclusion-quote i {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
}

.conclusion-quote i:first-child {
  margin-right: 0.5rem;
}

.conclusion-quote i:last-child {
  margin-left: 0.5rem;
}

.conclusion-quote p {
  display: inline;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Final Thought */
.final-thought {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.thought-content i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.thought-content h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.thought-content p {
  font-size: 1rem;
  color: var(--dark);
  margin: 0;
  line-height: 1.6;
}

/* Article Footer */
.article-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.tags-label {
  font-weight: 600;
  color: var(--dark);
}

.tag {
  background: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: var(--gray);
  text-decoration: none;
}

.tag:hover {
  background: var(--accent);
  color: white;
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-light);
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--light);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
}

.tool-item:hover {
  background: var(--accent);
  color: white;
}

.tool-item i {
  color: var(--accent);
  width: 1.25rem;
}

.tool-item:hover i {
  color: white;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article {
  display: block;
  padding: 0.75rem;
  background: var(--light);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
}

.related-article:hover {
  background: var(--primary-light);
  transform: translateX(5px);
}

.related-article h4 {
  font-size: 0.9rem;
  color: var(--dark);
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.5rem;
  font-family: inherit;
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* Final CTA */
.final-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #94a3b8;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* Animation Classes */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-content {
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.2rem;
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .sidebar {
    order: 2;
  }
  
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cs-card {
    flex-direction: column;
    text-align: center;
  }
  
  .cs-number {
    margin: 0 auto;
  }
  
  .cs-header {
    justify-content: center;
  }
  
  .cs-result {
    justify-content: center;
  }
}

/* Mobile Landscape (576px - 768px) */
@media (max-width: 768px) {
  .seven-cs-hero {
    padding: 100px 0 60px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .quick-nav {
    top: 70px;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .quick-nav-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 1rem;
  }
  
  .nav-card {
    flex-shrink: 0;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary,
  .cta-buttons .btn-whatsapp {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .intro-quote p {
    font-size: 0.9rem;
  }
}

/* Mobile Portrait (up to 576px) */
@media (max-width: 576px) {
  .seven-cs-hero {
    padding: 80px 0 40px;
  }
  
  .hero-text h1 {
    font-size: 1.6rem;
  }
  
  .hero-text h2 {
    font-size: 1rem;
  }
  
  .methodology-badge {
    font-size: 0.7rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-trust-badges span {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .content-section h2 {
    font-size: 1.3rem;
  }
  
  .content-section h2 i {
    font-size: 1.3rem;
  }
  
  .cs-header h3 {
    font-size: 1.1rem;
  }
  
  .cs-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .cs-ai-feature li {
    font-size: 0.8rem;
  }
  
  .cs-result span {
    font-size: 0.8rem;
  }
  
  .eco-card {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
  
  .eco-card i {
    margin-bottom: 0.5rem;
  }
  
  .advantage-card {
    padding: 1rem;
  }
  
  .advantage-card i {
    font-size: 1.5rem;
  }
  
  .advantage-card h3 {
    font-size: 0.9rem;
  }
  
  .conclusion-card {
    padding: 1.5rem;
  }
  
  .conclusion-card p {
    font-size: 0.9rem;
  }
  
  .conclusion-quote p {
    font-size: 0.9rem;
  }
  
  .final-thought {
    padding: 1.5rem;
  }
  
  .thought-content h3 {
    font-size: 1.1rem;
  }
  
  .thought-content p {
    font-size: 0.9rem;
  }
  
  .final-cta {
    padding: 2rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.3rem;
  }
  
  .cta-content p {
    font-size: 0.85rem;
  }
}

/* Extra Small Devices */
@media (max-width: 380px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .content-section h2 {
    font-size: 1.2rem;
  }
  
  .cs-header h3 {
    font-size: 1rem;
  }
  
  .eco-card h3 {
    font-size: 0.85rem;
  }
  
  .eco-card p {
    font-size: 0.7rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .sidebar,
  .quick-nav,
  .whatsapp-float,
  #backToTop,
  .final-cta,
  .newsletter-widget,
  .hero-buttons,
  .cta-buttons {
    display: none !important;
  }
  
  .seven-cs-hero {
    background: white;
    padding: 1rem 0;
    color: black;
  }
  
  .seven-cs-hero .hero-text h1,
  .seven-cs-hero .hero-text h2 {
    color: black;
  }
  
  .hero-description {
    color: #333;
  }
  
  .hero-trust-badges span {
    color: #333;
    background: #f0f0f0;
  }
  
  .cs-card,
  .advantage-card,
  .eco-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
  
  .ecosystem-section,
  .advantage-section {
    background: none;
  }
  
  .conclusion-card {
    background: none;
    border: 1px solid #ccc;
    color: black;
  }
  
  .conclusion-card p {
    color: #333;
  }
  
  .final-thought {
    background: none;
    border: 1px solid #ccc;
  }
  
  .intro-quote {
    background: none;
    border: 1px solid #ccc;
  }
}