/*
Theme Name: DataReveal AI
Description: Custom WordPress theme for DataReveal AI
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

body {
  font-family: "Poppins";
  line-height: 1.6;
  color: #333;
  background-color: #f8fbff;
}

.container {
  max-width: 1400px;
  width:92%;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop Navigation */
.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  position: relative;
  margin: 0;
  padding: 0;
}

.navbar-nav li {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 10px 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: #4790ff;
}

/* Dropdown indicator arrow - Only for main nav links on desktop */
.nav-link.has-dropdown::after {
  content: "▼";
  font-size: 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

/* Rotate arrow on hover - Only for main nav links on desktop */
.navbar-nav li:hover .nav-link.has-dropdown::after {
  transform: rotate(180deg);
}

/* Hide arrows on smaller screens */
@media (max-width: 992px) {
  .nav-link.has-dropdown::after {
    display: none !important;
  }
}

/* Dropdown container */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Show dropdown on hover */
.navbar-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #4790ff;
  text-decoration: none;
}

.dropdown-item:focus {
  outline: 2px solid #4790ff;
  outline-offset: -2px;
  background-color: #f8f9fa;
}

/* Nested Submenu */
.dropdown-submenu {
  position: relative;
}

/* Add arrows for nested dropdown items on desktop */
.dropdown-item.has-submenu::after {
  content: "▶";
  font-size: 10px;
  margin-left: 8px;
  float: right;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

/* Hide arrows on mobile */
@media (max-width: 992px) {
  .dropdown-item.has-submenu::after {
    display: none !important;
  }
}

.nested-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -1px;
  white-space: nowrap;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 8px 0;
}

.navbar-nav li:last-child .nested-dropdown,
.navbar-nav li:nth-last-child(2) .nested-dropdown {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: -1px;
}

.dropdown-submenu:hover > .nested-dropdown {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Styles */
.navbar-nav.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 1rem;
  min-width: 250px;
  max-width: 300px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.navbar-nav.mobile-menu.active {
  display: flex;
}

.navbar-nav.mobile-menu li {
  width: 100%;
}

.navbar-nav.mobile-menu .nav-link {
  padding: 12px 16px;
  display: block;
  width: 100%;
}

/* Mobile dropdown adjustments */
.navbar-nav.mobile-menu .dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: #ffffff;
  margin-top: 0;
  border-radius: 0;
  padding: 0;
  display: none;
  max-height: none;
  overflow-y: visible;
}

.navbar-nav.mobile-menu .nav-item-dropdown.active .dropdown {
  display: block;
}

.navbar-nav.mobile-menu .dropdown-item {
  padding: 8px 24px;
  font-size: 13px;
  background: #ffffff;
}

/* Mobile nested dropdown */
.navbar-nav.mobile-menu .nested-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: #ffffff;
  margin-top: 0;
  border-radius: 0;
  padding: 0;
  display: none;
  max-height: none;
  overflow-y: visible;
}

.navbar-nav.mobile-menu .dropdown-submenu.active .nested-dropdown {
  display: block;
}

.navbar-nav.mobile-menu .nested-dropdown .dropdown-item {
  padding: 6px 32px;
  font-size: 12px;
  background: #ffffff;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .navbar-nav {
    gap: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .navbar-nav {
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .navbar-nav:not(.mobile-menu) {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* Demo content */
.demo-content {
  padding: 2rem 0;
  text-align: center;
}

.demo-content h1 {
  color: #05234c;
  margin-bottom: 1rem;
}

.demo-content p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================================================================================================================
   Footer Styles
   ===================================================================================================================================
*/

/* Footer Base Styles */
.site-footer {
  margin-top: 0px;
  background-color: #ffffff;
  padding-top: 60px;
  font-family: "Montserrat", sans-serif;
  color: #333;
}

.site-footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-footer-merged-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 10px;
}

.footer-content {
  display: grid;
  gap: 30px;
}

.footer-section {
  margin-bottom: 10px;
}

.footer-section.company-info {
  padding-right: 20px;
}

.footer-logo img {
  height: 35px;
  margin-bottom: 15px;
}

.footer-section h4 {
  color: #9f9f9f;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-section ul li a:hover {
  color: #007bff;
}

.footer-company-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 300px;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  margin-right: 15px;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-img-icon {
  width: 50px;
  height: 46px;
  vertical-align: middle;
  border-radius: 5px;
}

.contact-info p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
  font-weight: 400;
}

.contact-info p i {
  margin-right: 20px;
  color: #05234c;
}

.contact-info .fas.fa-phone-alt {
  transform: scaleX(1) !important;
  display: inline-block;
}

/* Locations Grid */
.merged-locate-us-content {
  width: 100%;
  margin-top: 1px;
  margin-bottom: 1px;
}

.locate-us-title {
  color: #86898e;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.locations-grid {
  display: grid;
  gap: 20px;
}

.location-card {
  background: #ffffff;
  padding: 5px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
}

.location-card img.flag-icon {
  width: 30px;
  height: auto;
  margin-right: 15px;
  flex-shrink: 0;
}

.location-details {
  color: #000000;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.location-details h5 {
  font-size: 1rem;
  color: #4593ff;
  margin-bottom: 5px;
  font-weight: 600;
}

.location-details p {
  margin: 0;
  color: #000000;
}

/* Footer Bottom */
.site-footer .footer-bottom {
  background: #ffffff;
  padding: 20px 0;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1400px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .footer-copyright p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

.footer-links-bottom {
  display: flex;
  gap: 2rem;
}

.footer-links-bottom a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-links-bottom a:hover {
  color: #05234c;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #05234c;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: #4790ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hide wrapper divs and mobile sections by default */
.footer-quick-products,
.footer-middle-sections,
.footer-section.services-mobile {
  display: none;
}

/* Desktop Styles (min-width: 1200px) */
@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
    gap: 20px;
  }

  /* Show individual sections for desktop */
  .footer-section.quick-links,
  .footer-section.products,
  .footer-section.services {
    display: block;
  }

  /* Hide wrapper divs */
  .footer-quick-products,
  .footer-middle-sections,
  .footer-section.services-mobile,
  .footer-section.industries-mobile{
    display: none;
  }

  .locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
 
}


/* Large Tablet to Desktop (901px to 1199px) */
@media (min-width: 901px) and (max-width: 1199px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section.company-info {
    margin-bottom: 30px;
  }

  .footer-company-description {
    max-width: 100%;
  }

  /* Hide individual sections and show wrapper */
  .footer-section.quick-links,
  .footer-section.products,
  .footer-section.services,
  .footer-section.industries,
  .footer-section.industries-mobile{
    display: none;
  }
  

  .footer-middle-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  .footer-middle-sections .footer-section {
    display: block;
  }

  .footer-section.contact-info-section {
    margin-top: 0;
  }
  .footer-middle-sections .footer-section.industries ul {
    column-count: 1;
  }

  .contact-info p {
    text-align: justify;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Styles (481px to 900px) */
@media (min-width: 481px) and (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section.company-info {
    order: 1;
    margin-bottom: 30px;
  }

  /* Hide individual desktop sections */
  .footer-section.quick-links,
  .footer-section.products,
  .footer-section.services,
  .footer-section.industries {
    display: none;
  }

  /* Show tablet wrapper */
  .footer-middle-sections {
    order: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  /* Show all sections inside tablet wrapper */
  .footer-middle-sections .footer-section {
    display: block;
  }

  /* Industries specific styles */
  /*.footer-middle-sections .footer-section.industries ul {*/
  /*  column-count: 2;*/
  /*  column-gap: 20px;*/
  /*}*/

  /* Contact info section */
  .footer-section.contact-info-section {
    order: 3;
    margin-top: 0;
  }

  /* Contact info text alignment */
  .contact-info p {
    text-align: justify;
  }

  /* Locations grid */
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer bottom styles */
  .footer-bottom .container {
    display: flex;
    padding: 0 20px;
    flex-wrap: nowrap;
  }

  .footer-bottom .footer-copyright {
    flex: 1;
    text-align: left;
  }

  .footer-bottom .footer-copyright p {
    font-size: 12px;
  }

  .footer-links-bottom {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
  }

  .footer-links-bottom a {
    font-size: 13px;
  }

  /* Padding for main content */
  .main-footer-merged-content {
    padding: 0 20px;
  }

  /* Hide mobile-specific sections */
  .footer-quick-products,
  .footer-section.services-mobile,
  .footer-section.industries-mobile {
    display: none;
  }
}
/* Footer bottom style above 600px */
@media (min-width: 600px) and (max-width: 900px) {
  .footer-bottom .container {
    display: flex;
    padding: 0 20px;
    flex-wrap: nowrap;
  }

  .footer-bottom .footer-copyright {
    flex: 1;
    text-align: left;
  }

  .footer-bottom .footer-copyright p {
    font-size: 12px;
  }

  .footer-links-bottom {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
  }

  .footer-links-bottom a {
    font-size: 13px;
  }
}

/* Footer bottom style below 600px */
@media (max-width: 600px) {
  .footer-bottom .container {
    flex-direction: column-reverse;
    align-items: center;
  }

  .footer-links-bottom {
    gap: 1rem;
  }
}

/* Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section.company-info {
    margin-bottom: 20px;
    order: 1;
  }

  /* Adjust company info description width */
  .footer-company-description {
    max-width: 100%;
  }

  .social-icons {
    align-items: left;
    text-align: left;
  }

  /* Hide individual sections and show wrapper */
  .footer-section.quick-links,
  .footer-section.products,
  .footer-section.services,
  .footer-section.industries{
    display: none;
  }

  

  .footer-quick-products .footer-section {
    display: block;
  }
  .footer-quick-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    order: 2;
  }

  .footer-section.services-mobile {
    display: block;
    margin-bottom: 20px;
    order: 4;
  }

  .footer-section.contact-info-section {
    margin-top: 0;
    order: 4;
  }
  .footer-section.industries-mobile {
    display: block;
    margin-bottom: 20px;
    order: 3;
  }
  

  .contact-info p {
    text-align: left;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .main-footer-merged-content {
    padding: 0 15px;
  }

  .footer-bottom .container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0 15px;
  }

  .footer-links-bottom {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.4rem;
    overflow-x: auto;
    margin: 0px 0px;
  }

  .footer-links-bottom a {
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .location-card {
    padding: 15px;
  }

  .footer-bottom .container {
    margin: 0px auto;
    padding: 0 10px;
  }

  .footer-links-bottom {
    gap: 0.4rem;
    justify-content: left;
  }

  .footer-links-bottom a {
    font-size: 11px;
  }
}
/* ===================================================================================================================================
   End of Footer Styles
   ===================================================================================================================================
*/
