/* Main Styles for Bunya Digital Partners Website */

:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #f97316;
  --success-color: #10b981;
  --text-color: #333333;
  --light-text: #666666;
  --bg-color: #f8f9fa;
  --light-bg: #ffffff;
  --dark-bg: #1f2937;
  --border-color: #e5e7eb;
  --gradient-primary: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--light-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */
.header {
  background-color: var(--light-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  margin-right: 0.75rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: #f5f3ff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../images/bunya-artistic-logo.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 50%;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.hero-visual {
  flex: 1;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
}

.secondary-button:hover {
  background-color: rgba(106, 17, 203, 0.1);
  transform: translateY(-3px);
}

/* Why Choose Section */
.why-choose {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: left;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.learn-more i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* Methodology Section */
.methodology {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.methodology-container {
  margin-top: 3rem;
}

.methodology-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.methodology-tab {
  padding: 1rem 2rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.methodology-tab.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.phase-number {
  font-weight: 700;
}

.methodology-content {
  display: flex;
  align-items: flex-start;
  margin-top: 3rem;
}

.methodology-visual {
  flex: 1;
  position: relative;
}

.bunya-logo-small {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 60px;
  opacity: 0.2;
}

.methodology-details {
  flex: 1;
  padding-left: 2rem;
}

.methodology-phase {
  display: none;
}

.methodology-phase.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.methodology-phase h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.methodology-phase p {
  margin-bottom: 1.5rem;
}

.methodology-phase ul {
  list-style-type: none;
  padding-left: 0;
}

.methodology-phase ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.methodology-phase ul li:before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.methodology-cta {
  text-align: center;
  margin-top: 3rem;
}

/* AI Architecture Section */
.ai-architecture {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.architecture-stages {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.architecture-stage {
  text-align: center;
  flex: 1;
  min-width: 150px;
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.architecture-stage.active .stage-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.stage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.architecture-stage h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.architecture-visual {
  margin-top: 3rem;
  height: 300px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.architecture-diagram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.architecture-cta {
  text-align: center;
  margin-top: 3rem;
}

/* AI Readiness Section */
.ai-readiness {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.assessment-preview {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.assessment-question {
  margin-bottom: 2rem;
}

.assessment-question h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.assessment-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.assessment-option {
  margin: 0.5rem;
  position: relative;
}

.assessment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.assessment-option label {
  display: block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.assessment-option input[type="radio"]:checked + label {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.assessment-option label:hover {
  border-color: var(--primary-color);
}

.assessment-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Success Stories Section */
.success-stories {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-content:before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(106, 17, 203, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--light-text);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  opacity: 0.9;
}

.cta-content .cta-button {
  background: white;
  color: var(--primary-color);
}

.cta-content .cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  opacity: 0.7;
  font-size: 0.875rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .methodology-content {
    flex-direction: column;
  }
  
  .methodology-visual {
    margin-bottom: 2rem;
  }
  
  .methodology-details {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .methodology-tabs {
    flex-wrap: wrap;
  }
  
  .methodology-tab {
    margin-bottom: 1rem;
  }
  
  .architecture-stages {
    flex-direction: column;
    align-items: center;
  }
  
  .architecture-stage {
    margin-bottom: 1.5rem;
  }
  
  .assessment-options {
    flex-direction: column;
  }
  
  .assessment-option {
    width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .assessment-preview {
    padding: 1.5rem;
  }
  
  .testimonial-content {
    padding: 2rem;
  }
}
