/* Modern card style for the Contact section container */
#contact .bg-dark {
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 6px 0 rgba(2,196,60,0.10);
  border: 1.5px solid var(--computerAnythingPrimary);
  background: #181818 !important;
}
/* Smooth transition for navbar dropdown */
.navbar-collapse {
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height, opacity;
}

.navbar-collapse.collapsing {
  opacity: 0.5;
}

.navbar-collapse.show {
  opacity: 1;
}

:root {
  --computerAnythingPrimary: #02c43c;
  --computerAnythingSecondary: #0250c4;
  --computerAnythingText: #ffffff80;
  --computerAnythingGray: #727272;
  --bg-light: rgb(129, 129, 129);
}

body {
  background: #000 !important;
}

/* Make the header section behind the navbar very dark for contrast */
header.bg-dark {
  background: #000 !important;
}

/* Green line at the bottom of the navbar */
.navbar {
  border-bottom: 4px solid var(--computerAnythingPrimary) !important;
  background: rgba(0, 0, 0, 0.85) !important;
}

/* Green divider that sticks to the bottom of the navbar */

/* Green divider bar for sections */
.section-divider {
  width: 100%;
  height: 4px;
  background: var(--computerAnythingPrimary);
  border: none;
  margin: 0;
  padding: 0;
  display: block;
}

/* Always center text in contact section cards */
#contact .col {
  text-align: center;
}

/* Navbar button style for mobile dropdown */
@media (max-width: 991.98px) {
  .navbar-btn-link {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {

  .container,
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .col,
  .col-lg-4,
  .col-lg-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
  }

  img,
  .feature {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 575.98px) {

  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* Button adjustments for dark theme */
.dark-theme .btn-primary {
  background-color: var(--computerAnythingPrimary);
  border-color: var(--computerAnythingPrimary);
}

.contact-info-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.contact-info-link,
.contact-info-div {
  color: var(--computerAnythingPrimary);
  transition: 325ms;
}

.contact-info-div:hover,
.contact-info-link:hover {
  transform: scale(1.25);
  color: var(--bsInfo);
}

.contact-info-resume {
  font-size: x-large;
  margin-top: 5rem;
  margin-bottom: 0.5rem;
}

.contact-us-pgraph {
  color: var(--computerAnythingText);
}

.btn.btn-light.btn-xl:hover {
  transform: scale(2);
}

.contact-info-phone-number {
  margin-top: 2.5rem;
}

.theme-toggle-btn {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(90deg, #cfcfcf 50%, #5f5f5f 50%);
  position: absolute;
  top: 10px;
  left: 10px;
  /* Changed from right to left */
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
}

.custom-btn {
  background-color: var(--computerAnythingPrimary);
  color: black;
  border: 2px solid rgb(99, 99, 99);
}

.custom-btn:hover {
  background-color: rgb(99, 99, 99);
  color: var(--computerAnythingPrimary);
  border: 2px solid var(--computerAnythingPrimary);
}

#testimonials {
  color: rgb(255, 255, 255);
  background-color: rgb(70, 70, 70);
}

#testimonials .fst-italic {
  color: rgb(255, 255, 255);
  background-color: rgb(70, 70, 70);
}

#testimonials .fw-bold {
  background-color: rgb(70, 70, 70);
}

#reference-clients {
  color: lightgray;
  background-color: black;
}

#reference-clients .fst-italic {
  color: lightgray;
  background-color: black;
}

#reference-clients .fw-bold {
  background-color: black;
}

#features {
  background-color: var(--bg-light);
}

#contact,
#other-apps {
  background-color: var(--bg-light);
}

#contact .cpt-anything-changes h1,
#contact .cpt-anything-changes {
  color: white !important;
}

@media (max-width: 1200px) {
  .row.gx-5.align-items-center.justify-content-center {
    flex-direction: column;
  }

  .col-xl-5.col-xxl-6.d-none.d-xl-block.text-center {
    display: block !important;
    width: 100%;
    order: -1;
  }
}

/* Center icons and text in contact cards */
.row-cols-2 .col,
.row-cols-lg-4 .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* Style for the contact card icons */
.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  /* Adjust size */
  height: 60px;
  /* Adjust size */
  margin: 0 auto 10px;
  /* Center and add spacing */
  background-color: transparent;
  /* Remove blue background */
  border: 2px solid var(--computerAnythingPrimary);
  /* Add a green border for consistency */
  border-radius: 50%;
  /* Make the icons circular */
}

.feature i {
  font-size: 1.5rem;
  /* Adjust icon size */
  color: var(--computerAnythingPrimary);
  /* Use the green color for icons */
}

.feature:hover {
  background-color: var(--computerAnythingPrimary);
  /* Add hover effect */
  color: #fff;
  /* Change icon color on hover */
}

.feature:hover i {
  color: #fff;
  /* Ensure icon color changes on hover */
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.close-btn:hover {
  color: #000;
}

/* Footer */
/* Always center footer text and content */
footer {
  text-align: center !important;
}

footer .row,
footer .container,
footer .col-auto,
footer .d-flex {
  justify-content: center !important;
  align-items: center !important;
}

footer .me-3 {
  margin-right: 0 !important;
}

@media (max-width: 575px) {

  footer .row,
  footer .container,
  footer .col-auto,
  footer .d-flex {
    flex-direction: column !important;
  }
}

.footer-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-width: 0;
}

.footer-info-bar {
  background: var(--bs-black);
  border-top: 2px solid var(--computerAnythingPrimary);
  color: var(--bs-white);
  font-family: sans-serif;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 45px;
  height: 45px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

