/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=DM+Sans:400,400i,500,500i,700,700i&display=swap');

/* CSS Variables */
:root {
  --primary-color: #00ffff;
  --secondary-color: #ff00ff;
  --accent-color: #ffff00;
  --background-color: #000000;
  --text-color: #ffffff;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 5s ease-in-out infinite;
}

h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoGlow 5s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 5px var(--primary-color)); }
  33% { filter: drop-shadow(0 0 5px var(--secondary-color)); }
  66% { filter: drop-shadow(0 0 5px var(--accent-color)); }
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 20px;
  background: linear-gradient(45deg, #000000, #1a001a, #001a1a, #1a1a00);
  background-size: 400% 400%;
  animation: backgroundAnimation 15s ease infinite;
}

@keyframes backgroundAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* General Section Styling */
.section {
  padding: 60px 0;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Grids */
.services-grid, .pricing-grid, .portfolio-grid, .process-grid, .testimonial-grid, .benefits-grid, .social-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards */
.service-card, .pricing-card, .process-item, .testimonial-card, .benefit-item, .social-media-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover, .pricing-card:hover, .process-item:hover, .testimonial-card:hover, .benefit-item:hover, .social-media-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.service-card h3, .pricing-card h3, .process-item h3, .testimonial-card .testimonial-author, .benefit-item h3, .social-media-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-icon, .process-item i {
  font-size: 36px;
  margin-bottom: 15px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Portfolio Section */
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay h3 {
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Pricing Section */
.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.pricing-card ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}
.pricing-card li {
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.testimonial-card span {
  font-size: 14px;
  opacity: 0.7;
}

/* About Section */
.about-section {
  padding: 80px 0;
  margin-top: 2rem;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}
.about-text, .about-image {
  flex: 1 1 400px;
  min-width: 300px;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 18px;
}
.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
.stat-item {
  flex: 1 1 200px;
  margin-bottom: 20px;
  min-width: 150px;
}
.stat-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
}
.progress-bar {
  background-color: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  width: 0%;
  transition: width 1.5s ease-in-out;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Social Media Section */
.social-media-item i {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-media-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.social-media-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact-whatsapp {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
}
.whatsapp-btn i {
  margin-right: 10px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}
.faq-question {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 1000px; /* Adjust if needed */
  padding: 0 20px 20px;
}

/* Footer */
footer {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  font-size: 44px;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-links li {
  margin: 0 15px 10px;
}
.footer-links a {
  color: var(--text-color);
  text-decoration: none;
}
.icons-menu {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.iconfont-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.iconfont-wrapper:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-3px);
}
.mbr-iconfont {
  font-size: 20px;
  color: var(--text-color);
}
.iconfont-wrapper:hover .mbr-iconfont {
  color: var(--background-color);
}
footer .copyright {
  margin-top: 20px;
  opacity: 0.7;
}

/* Floating WhatsApp Button */
.whatsapp-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}
.whatsapp-toggle img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.whatsapp-toggle:hover {
  transform: scale(1.1);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .nav-links {
    display: flex;
  }
  .services-grid, .pricing-grid, .portfolio-grid, .process-grid, .social-media-grid, .testimonial-grid, .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .services-grid, .pricing-grid, .portfolio-grid, .social-media-grid, .testimonial-grid, .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  h1 {
      font-size: 2.5rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    flex-direction: column;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }
  .hamburger {
    display: block;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-stats {
      justify-content: center;
  }
  .footer-content {
      flex-direction: column;
  }
}
/* Add these new styles to the end of your existing style.css file */

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 30px;
}

.article-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.article-excerpt {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Article Page Styles */
.article-container {
  max-width: 800px;
}

.article-hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.article-body h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--primary-color);
}

.article-body h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.article-body p, .article-body li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul {
  list-style-position: inside;
}