:root {
  --primary-color: #ed750f;
  --primary-hover: #b35c11;
  --secondary-bg: #f8f9fa;
  --third-bg: teal;
  --forth-bg: #003f80;
  --bg-primary: #ed750f;
  --secondary-text-color: #f8f9fa;
  --third-text-color: teal;
  --text-color: #222;
  --bg-dark: #043160;
}

/* Add top padding to body to prevent content being hidden behind navbar */
body {
  padding-top: 60px; /* Adjust based on navbar height */
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-success {
  background-color: var(--third-bg) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-success {
  background-color: var(--third-bg);
  border: none;
  color: #fff;
}

.btn-dark {
  background-color: var(--bg-dark) !important;
  border: none;
  color: #fff;
}

.hero-maintitle {
  color: var(--third-text-color) !important;
  font-weight: 700 !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border: none;
}
.navbar {
  background: var(--secondary-bg);
  box-shadow: 0 3px 10px var(--text-color) !important;
}
.navbar-brand {
  font-weight: 700;
  color: var(--primary-color) !important;
}
.nav-link {
  font-weight: 500;
  color: var(--text-color) !important;
  margin-right: 10px;
}
.nav-link:hover {
  color: var(--primary-hover) !important;
}

.dropdown-menu {
  width: 1000px;
  border: none;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  padding: 20px;
  display: none;
  box-shadow: 0 5px 20px var(--text-color) !important;
}
.navbar-nav .dropdown:hover > .dropdown-menu {
  display: block;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-col a {
  color: var(--text-color) !important;
  margin-bottom: 2px;
  text-decoration: none;
  font-size: 14px !important;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.mega-menu-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
}
.mega-menu-item a {
  color: var(--text-color) !important;
  font-weight: 500;
  text-decoration: none;
}
.mega-menu-item a:hover {
  color: var(--primary-hover);
}

.navbar-buttons .btn {
  border-radius: 30px;
  font-weight: 600;
  padding: 8px 16px;
  margin-left: 10px;
}
.btn-support {
  background-color: var(--third-bg);
  border: 1px solid var(--third-bg);
  color: var(--secondary-text-color);
}
.btn-callback {
  background-color: var(--forth-bg);
  color: var(--secondary-text-color);
}
.btn-callback:hover {
  background-color: var(--primary-hover);
  color: var(--secondarytext-color);
}

@media (max-width: 1200px) {
  .dropdown-menu {
    width: 100%;
    left: 0;
    transform: none;
  }
}

/* hero section css */

.hero {
  /* text-align: left; */
  /* padding: 60px 20px; */
  /* background-color: var(--secondary-bg);
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--text-color) !important; */
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero p {
  font-size: 18px;
  color: var(--text-color);
}

.hero-1 {
  background: url("https://zabhri.com/public/assets/images/uploads/website-designing-company-india.webp")
    center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: left;
  color: #fff;
  text-align: center;
}

.hero {
  align-items: center;
  color: #fff;
  text-align: center;
}

/* about us css */
.about-section {
  position: relative;
  padding: 80px 0 0;
  background-color: #131212;
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-wrapper {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 360px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative; /* add this */
  z-index: 10; /* higher than triangle */
}

.about-content {
  flex: 1;
  margin-top: 5%;
  text-align: center;
}

.sub-heading {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 18px;
  text-decoration: underline;
}

.main-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.primary-text {
  color: var(--secondary-text-color);
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #0078ff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #005ec4;
}

/* Triangle Shape Divider */
.about-section {
  position: relative;
  padding: 40px 0 0;
  background-color: #0f0000;
  overflow: hidden;
}

/* Triangle base style */
.triangle-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 2;
}

/* Type 10: Layered double triangle */
.triangle-divider.t10 {
  border-left: 30vw solid transparent;
  border-right: 70vw solid transparent;
  border-bottom: 80px solid #ffffff;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1; /* make sure it's below image */
}

/* happy customers */
.happy-customer-section {
  padding: 0;
  padding-bottom: 50px;
  background-color: #d7d7d7;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .main-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-header .primary-text {
  font-size: 18px;
  color: #555;
}

.video-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.video-item {
  flex: 1 1 30%;
  max-width: 360px;
  position: relative;
  padding-bottom: 30.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* client logos */

.clients-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.section-header .main-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-header .primary-text {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* space between logos */
}

.logo-item {
  flex: 1 1 calc(20% - 30px); /* 5 logos per row */
  max-width: 180px;
}

.logo-item img {
  width: 100%;
  height: auto;
  filter: grayscale(0.3); /* optional: slight gray effect */
  transition: all 0.3s;
}

.logo-item img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .logo-item {
    flex: 1 1 calc(25% - 20px); /* 4 per row */
  }
}

@media (max-width: 768px) {
  .logo-item {
    flex: 1 1 calc(33.33% - 20px); /* 3 per row */
  }
}

@media (max-width: 480px) {
  .logo-item {
    flex: 1 1 calc(50% - 15px); /* 2 per row */
  }
}

/* our services */
.services-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .main-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bg-primary);
}

.section-header .primary-text {
  font-size: 18px;
  color: #555;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 350px;
  background-color: #f9f9f9;
  padding: 0;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item img {
  width: 100%;
  height: 270px;
  margin-bottom: 10px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--bg-primary);
  text-transform: uppercase;
}

.service-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-item {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .service-item {
    flex: 1 1 100%;
  }
}

/* our carousel */
.img-fluid {
  border: medium solid rgba(0, 0, 0, 0.125);
  height: 350px;
  margin-bottom: 10px;
}

/* faq */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding-top: 10px;
  color: #555;
  line-height: 1.6;
}

/* CALL TO .about-section */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cta-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay for readability */
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: 2.5rem;
}

.cta-subheading {
  font-size: 1.2rem;
}

.cta-form .form-control {
  border-radius: 8px;
  padding: 12px 15px;
}

.cta-form .btn {
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* footer */
.footer-section {
  background-color: #1c1c1c;
  color: #fff;
}

.footer-section h5 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section .social-icons a {
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-section .social-icons a:hover {
  color: #007bff;
}

/* modal */
/* Modal overall */
/* Modal content */
.modal-content {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Header */
.modal-header {
  border-bottom: none;
  font-weight: 600;
}

/* White close button */
.btn-close-white {
  filter: invert(1);
}

/* Inputs */
.modal-body .form-control {
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  transition: all 0.2s;
}

.modal-body .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
  outline: none;
}

/* Button */
.modal-body .btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 0;
  font-size: 1rem;
  transition: all 0.2s;
}

.modal-body .btn-primary:hover {
  background-color: #0056b3;
}

/* portfoio */
.portfolio-section {
  background-color: #d7d7d7;
}
