/*=========================================
Basic Theme Styles
=========================================*/

/* Import DM Sans fonts (TTF) */
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../font/DMSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;	
}

/* Root theme colors */
:root {
  --primary-color: #0071bc; /* Blue */
  --white-color: #ffffff; /* White */
  --secondary-color: #201e1e;
  --grey-color: #8794AA;
  --cta-button: #0f1217;
  --dark-blue: #182439;

  --text-color: #333;
  --heading-color: #111;
  --body-font: "DM Sans", sans-serif;
}

/* Global styles */
body {
  font-family: var(--body-font);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Hide horizontal scrollbar */
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--body-font);
  color: var(--heading-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

/* Containers like Bootstrap */
/* Container */
.container {
  width: 100%;
  max-width: 1400px; /* Updated width */
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Smooth scrolling horizontal */
html {
  scroll-behavior: smooth;
}

/* Hidden scrollbar if needed */
::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
} /* IE/Firefox */

/* Links and buttons */
a {
  color: var(--primary-color);
  text-decoration: none;
}

button {
  font-family: var(--body-font);
  cursor: pointer;
  border: none;
}

/* Utility classes */
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d-none {
  display: none;
}
.d-lg-flex {
  display: none;
}
.d-lg-block {
  display: none;
}
.d-lg-none {
  display: block;
}
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.elementor-22 .elementor-element.elementor-element-30c6968 p {
  margin-block: 0px;
}

/* Custom Page Title */
.custom-page-title{
  font-family: "DM Sans", Sans-serif;
  font-size: 45px;
  font-weight: 700;
  text-align: center;
  color: var(--white-color);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px){
  .custom-page-title{
    font-size: 26px;
  }
}

@media (max-width: 576px){
  .custom-page-title{
    font-size: 20px;
  }
}

/* Custom Page Title */

/* Banner Service Button Css */

#bannercta .elementor-button-icon {
  background-color: black;
  padding: 10px;
  border-radius: 50px;
}
#bannercta svg {
  font-size: 16px;
}

#bannercta .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
}

#bannercta .elementor-button-icon svg {
  display: inline-block;
  transition: transform 0.3s ease;
}

#bannercta:hover .elementor-button-icon svg {
  transform: rotate(40deg);
}

/* Banner Service Button Css */

.glass-201e1e {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    rgba(32, 30, 30, 0.08);
  -webkit-backdrop-filter: blur(4px) saturate(110%);
  backdrop-filter: blur(4px) saturate(110%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: visible;
}

/* Home Banner Form Css */
/* Contact Form 7 - Techmatter Home Page */
.home-page-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Rows */
.home-page-contact-form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.home-page-contact-form-row.two-column {
  flex-direction: row;
  gap: 20px;
}

/* Inputs */
.home-page-contact-form-input,
.home-page-contact-form-textarea {
  padding: 15px 22px;
  border: 2px solid var(--white-color);
  background-color: transparent;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white-color);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.home-page-contact-form-textarea {
  border-radius: 25px;
}

.home-page-contact-form-input::placeholder,
.home-page-contact-form-textarea::placeholder {
  color: var(--white-color);
}

/* Textarea specific */
.home-page-contact-form-textarea {
  resize: none;
}

/* Submit Button */
.home-page-contact-form-button {
  padding: 16px 60px;
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin: auto;
}

/* Home Banner Form Css */

/* Home - Get Free Consultation Form Css */
/* Contact Form 7 - Techmatter Home Page */
.get-free-consultation-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Rows */
.get-free-consultation-contact-form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.get-free-consultation-contact-form-row.two-column {
  flex-direction: row;
  gap: 20px;
}

/* Inputs */
.get-free-consultation-contact-form-input,
.get-free-consultation-contact-form-textarea {
  padding: 15px 22px;
  border: 2px solid var(--white-color);
  background-color: var(--white-color);
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-color);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.get-free-consultation-contact-form-textarea {
  border-radius: 25px;
}

.get-free-consultation-contact-form-input::placeholder,
.get-free-consultation-contact-form-textarea::placeholder {
  color: var(--grey-color);
}

/* Textarea specific */
.get-free-consultation-contact-form-textarea {
  resize: none;
}

/* Submit Button */
/* Submit Button */
.get-free-consultation-contact-form-button {
  padding: 16px 64px 16px 30px; /* space for icon */
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  border-radius: 50px;

  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white-color);

  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;

  /* ICON */
  background-image: url("https://demos-sites.com/tech/wp-content/uploads/2026/02/right-arrow-with-bg-icon.png");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 32px;
}

/* Icon move on hover */
.get-free-consultation-contact-form-button:hover {
  background-position: right 10px center;
}

#getFreeConsultationMainDiv {
  position: absolute;
  left: -50px;
  top: 160px;
  width: 107%;
  margin-top: 40px;
  padding: 70px 40px;
}

/* Home - Get Free Consultation Form Css */

.wpcf7 form .wpcf7-response-output {
  padding: 0.2em 1em;
  border: 2px solid var(--white-color);
  color: var(--white-color);
  border-color: var(--white-color) !important;
  border-radius: 10px;
  margin: 4px;
}

p {
  margin: 0px;
}

/* ======================================
   Service Card – Global Hover Effects
   ====================================== */

#serviceCard {
  transition: all 0.35s ease;
  position: relative;
}

/* 1️⃣ Main card hover */
#serviceCard:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-6px);
}

/* 2️⃣ Image (PNG → white) */
#serviceCard:hover img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

/* 3️⃣ Inner content container (2nd child container) */
#serviceCard:hover > .e-con {
  background-color: var(--white-color);
  border-radius: 16px;
  transition: all 0.35s ease;
}

/* 4️⃣ Heading color */
#serviceCard:hover h1,
#serviceCard:hover h2,
#serviceCard:hover h3,
#serviceCard:hover h4 {
  color: var(--primary-color);
  transition: color 0.35s ease;
}

/* 5️⃣ Text color */
#serviceCard:hover p {
  color: #333;
}

/* 6️⃣ Button text + icon */
#serviceCard:hover .elementor-button-text,
#serviceCard:hover .elementor-button-icon svg {
  color: var(--primary-color);
  fill: var(--primary-color);
  transition: all 0.35s ease;
}

/* change UL Padding */

.changeBulletColor::marker {
  color: var(--primary-color);
  font-size: 22px;
}

.changeUlPadding {
  padding: 0px 22px;
}

/* change UL Padding */


/* About Section 6 Image Container Css */

.aboutSection6ImageContainer {
  margin-bottom: -200px !important; 
}

/* About Section 6 Image Container Css */




/* Large screens */
@media (max-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1300px) {
  .aboutSection6ImageContainer {
    margin-bottom: -100px !important;
  }
}

@media (max-width: 1280px) {
  #getFreeConsultationMainDiv {
    margin-top: 0px;
    padding: 40px;
  }
}

/* Medium screens */
@media (max-width: 1200px) {
  .container {
    padding: 12px;
  }

  .aboutSection6ImageContainer {
    margin-bottom: -50px !important;
  }
}

@media (max-width: 1092px) {
  .aboutSection6ImageContainer {
    margin-bottom: 0px !important;
  }
}

@media (max-width: 1040px) {
  #getFreeConsultationMainDiv {
    padding: 30px 20px;
    position: static;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .home-page-contact-form-row.two-column {
    flex-direction: column;
  }

  .get-free-consultation-contact-form-row.two-column {
    flex-direction: column;
  }
}

/* Small screens */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }

  .d-lg-flex {
    display: flex;
  }
  .d-lg-block {
    display: block;
  }
  .d-lg-none {
    display: none;
  }
}

/* Extra small screens */
@media (max-width: 768px) {
  .get-free-consultation-contact-form-row.two-column {
    flex-direction: column;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
}


/* 404 css  */

/* ==============================
   404 PAGE DESIGN
============================== */

.error-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #182439, #0f1217);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating gradient circles */
.error-404-section::before,
.error-404-section::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: var(--primary-color);
  opacity: 0.15;
  filter: blur(120px);
  animation: floatMove 8s infinite alternate ease-in-out;
}

.error-404-section::before {
  top: -100px;
  left: -100px;
}

.error-404-section::after {
  bottom: -120px;
  right: -120px;
  animation-delay: 2s;
}

@keyframes floatMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

/* Glass card */
.error-404-wrap {
  max-width: 700px;
  margin: auto;
  padding: 70px 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Big 404 number */
.error-404-code {
  font-size: 140px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Title */
.error-404-title {
  font-size: 36px;
  color: var(--white-color);
  margin-top: 15px;
}

/* Text */
.error-404-text {
  color: #d0d6e2;
  margin: 15px 0 30px;
  font-size: 18px;
}

/* Button */
.error-404-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.error-404-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px){
  .error-404-code {
    font-size: 90px;
  }
  .error-404-title {
    font-size: 26px;
  }
}

/* 404 css  */


