* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: 'Oxanium', sans-serif;
  line-height: 1.6;
  color: #333;
}

.get-started-button {
  display: inline-block;
  background: #54B435;
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(84, 180, 53, 0.3);
  width: 100%;
  text-align: center;
}

.get-started-button:hover {
  background: #47A025;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84, 180, 53, 0.4);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

h1 {
  margin-top: 60px;
}

/* RTL Support */
html[dir="rtl"] .nav-menu {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .nav-menu li {
  float: right;
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

/* ================================
   Header & Navbar
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
}

.logo-icon img {
  width: 40px;
  height: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.logo-text .cubic {
  font-weight: 600;
}

.logo-text .labs {
  font-weight: 400;
}

/* Language Switcher */
.language-switcher {
  margin-left: 10px;
}

#lang-btn {
  background: #46a24a;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

#lang-btn:hover {
  background: #f44336;
}


/* Nav Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: 0.3s;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #4CAF50;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #4CAF50;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* reduced from 1rem */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}


/* ================================
   Hero Section
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding: 60px 20px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
  background: linear-gradient(45deg, #f44336, #d32f2f);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

/* ================================
   About Section
================================ */
.about-section {
  padding: 50px 20px;
  background: #f8f9fa;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
  padding: 0 15px;
  word-wrap: break-word;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #4CAF50, #bbcf08);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 100%;
}

.about-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.6;

  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #666;
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.about-img:hover {
  transform: scale(1.05);
}

/* ================================
   Services
================================ */
.services-section {
  padding: 20px 0;
  background: white;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* mobile default */
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* tablets */
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr); /* desktop */
  }
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  /* text-align: center; */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: 0.3s;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  background: linear-gradient(45deg, #4CAF50, #f0cd76);
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-description {
  color: #666;
  line-height: 1.8;
}

/* ================================
   Team
================================ */
.team-section {
  padding: 60px 0 100px;
  background: white;
}


.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.team-image img {
  width: 100%;
  height: auto;
}

.slider-text {
  flex: 1;
  position: relative;
  min-height: 200px;
}

.slide {
  display: none;
  opacity: 0;
  transition: 0.5s;
  position: absolute;
  inset: 0;
}

.slide.active {
  display: block;
  opacity: 1;
  position: relative;
}

.slide h2 {
  color: #f44336;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
}

.slide p {
  line-height: 1.8;
  color: #333;
  font-size: 1rem;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  background: #bbb;
  border-radius: 50%;
  transition: 0.3s;
}

.dot.active,
.dot:hover {
  background: #f44336;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

/* ================================
   Blog
================================ */

.blog-section {
  padding: 40px 30px 40px;
  background: #f7f7f7;
  text-align: center;
}

.blog-carousel {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

.blog-container {
  display: flex;
  gap: 2rem;
  transition: transform 450ms ease;
}

.blog-card {
  min-height: 400px;
  height: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  flex: 0 0 calc(33.333% - 1.33rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.blog-image img {
  aspect-ratio: 16/9;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 15px;
}

.blog-content {
  padding: 10px;
  text-align: left;
  flex: 1;
  overflow: hidden;
}

.blog-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #333;
}

.blog-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-clamp: 4;
  -webkit-line-clamp: 4;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* ================================
   CTA
================================ */
.cta-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
  word-wrap: break-word;
  text-align: center;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-align: center;
}

.btn btn-primary{
align-items: center;
}

/* ================================
   FAQ
================================ */
.faq-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.2s;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.faq-question i {
  transition: transform 0.3s;
  color: #28a745;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  margin-top: 10px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* ================================
   Footer
================================ */
.footer {
  background: #333;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.logo-text .cubic-footer,
.logo-text .labs-footer {
  color: white !important;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-description {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer-contact p {
  color: #ccc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #4CAF50;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #ccc;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: #4CAF50;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* ================================
   Media Queries
================================ */
@media (max-width: 992px) {

  .about-content,
  .team-content {
    grid-template-columns: 1fr;
    /* text-align: center; */
  }

  .about-img,
  .team-image img {
    height: 300px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    height: calc(100vh - 70px);
    width: 250px;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .blog-card {
    flex: 0 0 100%;
  }

  .blog-card {
    flex: 0 0 100%;
    padding: 16px;
  }

  .blog-image img {
    height: 140px;
  }

  .blog-content h3 {
    font-size: 1rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
  }
  
  .about-section {
    padding: 30px 15px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }

  .about-text {
    padding: 0 10px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 10px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card,
  .team-content {
    padding: 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-content {
    gap: 2rem;
  }
}
/*
 ================================
   Pricing Section
================================ */
.pricing-section {
  background: #f8f9fa;
}

.pricing-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* lowered from 400px */
  gap: 3rem;
  margin-top: 5rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card-dark {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
}

.pricing-card-light {
  background: white;
  color: #333;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-category {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #4CAF50;
}

.pricing-card-dark .pricing-category {
  color: #a5d6a7;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.price-period {
  font-size: 0.9rem;
  opacity: 0.8;
}

.pricing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 1.5rem 0;
}

.pricing-exclusions {
  text-align: center;
  margin-bottom: 2rem;
}

.exclusions-title {
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.feature-item i {
  color: #4CAF50;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.feature-item i.fa-times {
  color: #ff0000;
}

.pricing-card-dark .feature-item i {
  color: #a5d6a7;
}

.pricing-card-dark .feature-item i.fa-times {
  color: #ff0000;
}

.pricing-btn {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-light {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-dark {
  background: linear-gradient(45deg, #66bb6a, #4caf50);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Responsive Design for Pricing */

/* Large tablets and small desktops (992px) */
@media (max-width: 992px) {
  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
  }

  .price {
    font-size: 2.2rem;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .pricing-category {
    font-size: 1.1rem;
  }
}

/* Mobile phones (576px) */
@media (max-width: 576px) {
  .pricing-section {
    padding: 0px 0;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .feature-item {
    font-size: 0.85rem;
  }

  .price {
    font-size: 1.8rem;
  }
}

.text_q {
  text-align: justify;
  color: rgb(255, 0, 0);
}
