/* Layout Styles */

/* Header */
.header-main {
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  z-index: 1050 !important;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color) !important;
  display: flex;
  align-items: center;
}

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

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #000 !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--box-shadow-lg);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: var(--transition);
  color: var(--dark-color);
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Main Content */
.main-content {
  padding-top: 76px; /* Account for fixed navbar */
}

/* Hero Sections */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--dark-color);
}

.other-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a7a7a7 0%, #fff 100%);
  color: var(--dark-color);
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--font-family-secondary);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  color: white;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-clients {
  margin-top: 3rem;
}

.clients-text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.clients-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.client-logo {
  height: 40px;
  opacity: 0.7;
  /* filter: brightness(0) invert(1); */
  transition: var(--transition);
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--box-shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-main-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.hero-section-alt {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.other-section-alt {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-image {
  z-index: 1;
  position: relative;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  opacity: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .page-title {
  color: white;
}

.page-header .page-description {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: rgba(255, 255, 255, 0.7);
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}

/* Stats Section */
.stats-section {
  background: var(--white);
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

/* Services Section */
.services-preview {
  background-color: var(--light-color);
}

.services-grid {
  background-color: var(--white);
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-preview {
  background-color: var(--white);
}

.mission-vision {
  background-color: var(--light-color);
}

.values-section {
  background-color: var(--white);
}

.team-preview {
  background-color: var(--light-color);
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--light-color);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

/* Blog Section */
.blog-section {
  background-color: var(--white);
}

.blog-hero {
  background-color: var(--light-color);
}

/* Process Section */
.process-section {
  background-color: var(--light-color);
}

/* CTA Section */
.cta-section {
  background: var(--black);
  color: var(--white);
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-info-section {
  background-color: var(--light-color);
}

/* Footer */
.footer-main {
  background-color: var(--dark-color) !important;
  color: var(--white);
}

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

.footer-main p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-main .list-unstyled li {
  margin-bottom: 0.5rem;
}

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

.footer-main .list-unstyled a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}



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

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.service-info {
  background-color: var(--light-color);
}

.related-services .list-group-item {
  border: 1px solid rgba(0, 0, 0, 0.125);
  transition: var(--transition);
}

.related-services .list-group-item:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Timeline */
.process-timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  flex-shrink: 0;
}

.timeline-marker .badge {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
}

/* Tech Stack */
.tech-stack .tech-item {
  transition: var(--transition);
}

.tech-stack .tech-item:hover {
  transform: translateY(-5px);
  background-color: var(--white) !important;
  box-shadow: var(--box-shadow);
}

/* Responsive Layout */
@media (max-width: 992px) {
  .main-content {
    padding-top: 70px;
  }

  .hero-section,
  .hero-section-alt {
    min-height: 80vh;
    padding: 4rem 0;
  }

   .other-section,
  .other-section-alt {
    min-height: 50vh;
    padding: 4rem 0;
  }
  .page-header {
    padding: 6rem 0 3rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .logo-img {
    height: 35px;
  }

  .hero-section,
  .hero-section-alt {
    min-height: 70vh;
    padding: 3rem 0;
  }

  .other-section,
  .other-section-alt {
    min-height: 50vh;
    padding: 3rem 0;
  }
  .page-header {
    padding: 5rem 0 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding-top: 65px;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .logo-img {
    height: 30px;
  }

  .hero-section,
  .hero-section-alt {
    min-height: 60vh;
    padding: 2rem 0;
  }
  .other-section,
  .other-section-alt {
    min-height: 50vh;
    padding: 2rem 0;
  }

  .page-header {
    padding: 4rem 0 2rem;
  }

  section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .cta-section .row {
    text-align: center;
  }

  .cta-section .col-lg-4 {
    margin-top: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer-main,
  .cta-section {
    display: none !important;
  }

  .main-content {
    padding-top: 0 !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .page-header {
    padding: 2rem 0 1rem;
  }

  section {
    padding: 1.5rem 0;
  }

  .section-title {
    font-size: 18pt;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 14pt;
    margin-bottom: 1rem;
  }

  .card,
  .feature-card,
  .service-card,
  .testimonial-card {
    box-shadow: none !important;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  .btn {
    border: 1px solid #000 !important;
    background: none !important;
    color: #000 !important;
  }
}
.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
