:root {
  --bg-dark: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --primary: #7c5cff;
  --accent-cyan: #00c8ff;
  --text-primary: #f8fbff;
  --text-secondary: #e6eef8;
}

body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-secondary);
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  background:
    /* Grid pattern */
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    /* Radial gradient spots */
    radial-gradient(1200px 600px at 10% 10%, rgba(124, 92, 255, 0.14), transparent 10%),
    radial-gradient(1000px 500px at 90% 90%, rgba(0, 200, 255, 0.08), transparent 10%),
    /* Base color */
    var(--bg-dark);
  background-size:
    50px 50px,
    50px 50px,
    100% 100%,
    100% 100%,
    100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: none;
}

h4 {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 600;
  text-shadow: none;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
  color: var(--text-secondary);
}

p {
  font-size: 15px;
  color: var(--text-secondary);
  opacity: 0.9;
  text-shadow: none;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: var(--primary);
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: var(--accent-cyan);
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

hr {
  border: none;
  height: 2px;
  background: #5ca9fb;
  width: 60px;
  margin: 20px auto;
}


.img-modern {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease-in-out;
  opacity: 0.92;
  mix-blend-mode: screen;
}

/* Hover zoom and shadow */
.img-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}


/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

#menu.navbar-default {
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-color: var(--glass-border);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

#menu a.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  transition: all 0.3s ease;
  background: transparent !important;
  padding: 0;
  margin: 0;
}

.navbar-logo:hover {
  opacity: 0.85;
}

/* Remove white background if image has one */
#menu a.navbar-brand {
  background: transparent !important;
}

#menu.navbar-default .navbar-nav>li>a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
  text-shadow: none;
  transition: all 0.3s ease;
}

#menu.navbar-default .navbar-nav>li>a:hover {
  color: var(--text-primary);
  text-shadow: none;
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.4);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
  color: #000;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  box-shadow: none !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-default .navbar-toggle {
  background-color: rgba(255, 255, 255, 0.05);
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #ffffff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #ffffff;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

.section-title p {
  font-size: 18px;
  color: var(--text-secondary);
  opacity: 0.9;
  text-shadow: none;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  margin: 15px 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.list-item:hover {
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.06));
  transform: translateX(5px);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.list-item .check {
  color: var(--accent-cyan);
  font-weight: bold;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}

.list-item a {
  color: var(--text-secondary) !important;
  text-shadow: none;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  padding: 12px 28px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 0;
  position: relative;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
  cursor: pointer;
}

.btn-custom::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.3), rgba(0, 200, 255, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.6);
}

.btn-custom:hover::before {
  opacity: 1;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* Flex the row for vertical alignment */
#about .row {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  margin-left: 10px;
}

/* Center the image horizontally and vertically */
.center-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* Optional: control logo size */
.dir-logo {
  max-width: 50px;
  width: 100%;
  height: auto;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px;
}

/* Special class for DIR image - small with no border/shadow */
.dir-gov-image {
  max-width: 120px !important;
  background: #f8f9fa !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  padding: 8px !important;
  transition: none !important;
}

.dir-gov-image:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Header Section */
.intro,
.intro-texas {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: transparent;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/intro-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  z-index: 0;
}

.intro-texas::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Background image removed */
  z-index: 0;
}

.intro::after,
.intro-texas::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 249, 250, 0.85) 50%, rgba(232, 234, 237, 0.75) 100%);
  z-index: 1;
}

/* Animated tech particles */
.intro .tech-pattern,
.intro-texas .tech-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 200% 200%;
  animation: particles 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes particles {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.intro > *,
.intro-texas > * {
  position: relative;
  z-index: 2;
}

.intro h1,
.intro-texas h1 {
  font-family: "Raleway", sans-serif;
  color: var(--text-primary);
  font-size: 70px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

.intro h1 span,
.intro-texas h1 span {
  font-weight: 800;
  color: #3B82F6;
}

.intro p,
.intro-texas p {
  color: var(--text-secondary);
  font-size: 22px;
  font-weight: 200;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 300px;
  padding-bottom: 50px;
  text-align: center;
}

/* Responsive header padding */
@media (max-width: 768px) {
  header .intro-text {
    padding-top: 200px;
    padding-bottom: 0px;
  }

  .intro h1, .intro-texas h1 {
    font-size: 48px;
    color: var(--text-primary);
  }

  .intro p, .intro-texas p {
    font-size: 18px;
    line-height: 26px;
    color: var(--text-secondary);
  }

  /* About section image responsive */
  .img-modern {
    max-width: 380px;
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  header .intro-text {
    padding-top: 180px;
    padding-bottom: 60px;
  }

  .intro h1, .intro-texas h1 {
    font-size: 28px;
    color: #1a1a1a;
  }

  .intro p, .intro-texas p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
    color: #333;
  }

  /* About section image for small phones */
  .img-modern {
    max-width: 240px;
    margin: 20px auto;
  }
}

/* Header Section Contracts*/
.intro-texas {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: transparent;
}

.intro-texas::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/intro-texas.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  z-index: 0;
}

.intro-texas::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 249, 250, 0.85) 50%, rgba(232, 234, 237, 0.75) 100%);
  z-index: 1;
}

/* Tech pattern for government contracts page */
.intro-texas .tech-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 200% 200%;
  animation: particles 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.intro-texas > * {
  position: relative;
  z-index: 2;
}
.intro-texas h1 {
  font-family: "Raleway", sans-serif;
  color: #1a1a1a;
  font-size: 50px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

.intro-texas h1 span {
  font-weight: 800;
  color: #3B82F6;
}

.intro-texas p {
  color: var(--text-secondary);
  font-size: 22px;
  font-weight: 200;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}



/* Features Section */
#features {
  background: #f6f6f6;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* Government Contracts Page */
#GovernmentContracts {
  background: transparent;
  min-height: 100vh;
}

#GovernmentContracts .header-subtitle {
  font-size: 18px;
  margin-top: 20px;
  color: var(--text-secondary);
  opacity: 0.9;
}

/* Contracts Section */
#gov-contracts-section {
  padding: 80px 0;
}

/* Contract Card */
.contract-card {
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.4s ease;
}

.contract-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(2, 6, 23, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.04);
}

/* Contract Header */
.contract-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.05), rgba(0, 200, 255, 0.02));
}

.contract-logo {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contract-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.contract-title h2 {
  margin: 0 0 10px 0;
  color: var(--text-primary);
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contract-icon {
  color: var(--primary);
  font-size: 28px;
}

.contract-subtitle {
  margin: 0;
  color: var(--text-secondary);
  opacity: 0.85;
  font-size: 16px;
}

/* Contract Description */
.contract-description {
  padding: 40px;
}

.contract-description p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
  opacity: 0.9;
}

.contract-description p:last-child {
  margin-bottom: 0;
}

/* Contract Services */
.contract-services {
  padding: 40px;
}

.contract-services h3 {
  margin: 0 0 25px 0;
  color: var(--text-primary);
  font-size: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.service-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  transform: translateX(5px);
}

.service-checkmark {
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}

/* Contract Footer */
.contract-footer {
  padding: 40px;
}

/* Info Boxes */
.info-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.info-box:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.15);
}

.info-box h4 {
  margin: 0 0 20px 0;
  color: var(--text-primary);
  font-size: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.info-box p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  opacity: 0.9;
  line-height: 1.6;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Contact Info */
.contact-info {
  margin-top: 15px;
}

.contact-name {
  font-size: 18px;
  color: var(--text-primary) !important;
  margin-bottom: 15px !important;
}

.info-icon {
  color: var(--primary);
  margin-right: 10px;
  width: 18px;
}

.contact-info a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.important-note {
  margin-top: 20px !important;
  padding: 15px;
  background: rgba(124, 92, 255, 0.1);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  color: var(--text-primary) !important;
}

/* Resource Links */
.resource-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
}

.resource-link:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.5);
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
  color: white;
  text-decoration: none;
}

.resource-link svg {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .contract-header {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .contract-logo img {
    width: 100px;
  }

  .contract-title h2 {
    font-size: 24px;
    justify-content: center;
  }

  .contract-description,
  .contract-services,
  .contract-footer {
    padding: 30px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .info-box {
    padding: 20px;
  }

  /* Services Glass Card Responsive */
  #services .services-glass-card {
    padding: 30px 20px;
    border-radius: 12px;
  }

  #services .section-title h2 {
    font-size: 32px;
  }

  #services .section-title p {
    font-size: 14px;
    line-height: 24px;
  }
}

/* Texas Section */
#texas {
  padding: 100px 0;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

#texas h3 {
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--text-primary);
  text-shadow: none;
}

#texas h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

#texas h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

#texas .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: var(--text-secondary);
}

#texas .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#texas img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-top: 10px;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease;
  opacity: 0.92;
  mix-blend-mode: screen;
}

#texas img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

#texas p {
  line-height: 24px;
  margin: 30px 0;
  color: var(--text-secondary);
  opacity: 0.9;
  text-shadow: none;
}

/* About Section */
#about {
  padding: 100px 0;
  position: relative;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--text-primary);
  text-shadow: none;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
  text-align: center;
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

#about .about-text li {
  margin-bottom: 12px;
  margin-left: 0;
  list-style: none;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

#about .about-text li:hover {
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.06));
  transform: translateX(5px);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 600;
  padding-right: 12px;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}

#about img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-top: 10px;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease;
  opacity: 0.92;
  mix-blend-mode: screen;
}

#about img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}


#about p {
  line-height: 24px;
  margin: 30px 0;
  color: var(--text-secondary);
  opacity: 0.9;
  text-shadow: none;
}

/* Services Section */
#services {
  padding: 100px 0;
  position: relative;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
  overflow: hidden;
}

/* Services Glass Card Container */
#services .services-glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border: none;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease;
  opacity: 0.92;
  mix-blend-mode: screen;
}

#services .section-title {
  margin-bottom: 40px;
}

#services .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#services .section-title p {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-secondary);
  opacity: 0.9;
  max-width: 900px;
  margin: 0 auto;
}

#services .service-desc {
  margin: 10px 10px 20px;
  position: relative;
  padding: 30px 20px;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
}

#services .service-desc:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.06));
  border-color: var(--glass-border);
  box-shadow: 0 15px 40px rgba(2, 6, 23, 0.7), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Gradient border effect on hover */
#services .service-desc::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.6), rgba(0, 200, 255, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

#services .service-desc:hover::before {
  opacity: 1;
}

#services h2 {
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

#services .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: rgba(124, 92, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(124, 92, 255, 0.3);
  border-radius: 50%;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.3);
  transition: all 0.3s ease;
}

#services i.fa:hover {
  background: rgba(124, 92, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.5);
  border-color: rgba(124, 92, 255, 0.5);
}

#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: var(--text-primary);
  text-shadow: none;
}

#services p {
  color: var(--text-secondary);
  opacity: 0.9;
  text-shadow: none;
}

#services .service-desc {
  margin-bottom: 40px;
}

/* Portfolio Section */
#portfolio {
  padding: 100px 0;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}



.portfolio-items>div {
  box-sizing: border-box;
}

.portfolio-items .image-container {
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  display: block;
  transition: all 0.4s ease;
  height: auto;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.portfolio-items .image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-items>div {
  padding: 10px;
}

.hover-bg {
  position: relative;
  overflow: hidden;
  /* Fallback for browsers that don't support aspect-ratio */
  padding-top: 75%; /* 4:3 ratio = 3/4 = 0.75 = 75% */
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 4 / 3) {
  .hover-bg {
    aspect-ratio: 4 / 3;
    padding-top: 0;
  }
}

.hover-bg img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to right,
      rgba(99, 114, 255, 0.8) 0%,
      rgba(92, 169, 251, 0.8) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text>h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}

#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 20px;
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Team Section */
#team {
  padding: 100px 0;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

#team h4 {
  margin: 5px 0;
  color: var(--text-primary);
  text-shadow: none;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: var(--text-secondary);
  opacity: 0.9;
}


/* Container for logos */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Each partner block */
.partner-card {
  flex: 1 1 200px;
  max-width: 220px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.06));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Image styling */
.partner-img {
  width: 160px;
  height: 160px;
  object-fit: scale-down;
  margin: 0 auto;
  transition: all 0.3s ease;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.partner-card:hover .partner-img {
  transform: scale(1.05);
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text under logo */
.caption h4 {
  margin: 10px 0 5px;
  font-weight: 600;
  color: #1a1a1a;
  text-shadow: none;
}

.caption p {
  font-size: 14px;
  color: rgba(50, 50, 50, 0.8);
  text-shadow: none;
}

/* Contact Section */
#contact {
  padding: 100px 0;
  position: relative;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
  overflow: hidden;
}

#contact .container {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 50px 40px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease;
  opacity: 0.92;
  mix-blend-mode: screen;
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title p {
  font-size: 16px;
  color: var(--text-secondary);
  opacity: 0.9;
}

#contact h2 {
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

#contact h3 {
  color: var(--text-primary);
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 600;
  text-shadow: none;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: #3B82F6;
  backdrop-filter: blur(10px);
  border: 2px solid #3B82F6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#contact .btn-custom:hover {
  color: #fff;
  background: #14B8A6;
  border-color: #14B8A6;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  transform: translateY(-3px);
}

label {
  font-size: 12px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  float: left;
  color: #333;
  text-shadow: none;
}

#contact label {
  color: var(--text-secondary);
  opacity: 0.9;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.42857143;
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  background-image: none;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#contact .form-control:focus {
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.06));
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.8), 0 0 0 3px rgba(124, 92, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-control::-webkit-input-placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-control:-moz-placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-control::-moz-placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-control:-ms-input-placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

#contact .contact-item {
  margin: 20px 0;
  padding: 18px 22px;
  min-height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, var(--glass-bg), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
  transition: all 0.3s ease;
}

#contact .contact-item span {
  color: var(--text-primary) !important;
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}

#contact .contact-item p {
  color: var(--text-secondary) !important;
  opacity: 0.85;
  margin: 0;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid var(--glass-border);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.03);
}

#contact .social i.fa:hover {
  color: var(--accent-cyan);
  background: var(--glass-bg);
  border-color: var(--accent-cyan);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
}

/* Footer Section*/
#footer {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 30px 0;
}

#footer p {
  color: var(--text-secondary);
  opacity: 0.9;
  font-size: 14px;
  text-shadow: none;
}

#footer a {
  color: var(--primary);
  font-weight: 600;
}

#footer a:hover {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  text-shadow: none;
}

.image-container img {
  width: 160px;
  height: 160px;
  object-fit: scale-down;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.image-container img:hover {
  transform: scale(1.05);
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  #about, #services, #portfolio, #team, #contact, #training, #texas {
    padding: 60px 0;
  }

  #about {
    display: flex;
    justify-content: center;
    text-align: center;
    align-content: center;
    margin-left: 0px;
  }

  #about img {
    margin: 50px 0;
  }

  .image-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .image-container img {
    width: 50%;
    max-width: none;
    height: auto;
  }

  #contact form {
    text-align: center;
  }

  #contact .row {
    text-align: left;
  }

  #contact .form-group {
    text-align: left;
  }

  #contact .btn-custom {
    margin: 30px auto;
    display: inline-block;
  }

  #texas .about-text {
    text-align: center;
  }

  #texas ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #texas .col-lg-6,
  #texas .col-sm-6,
  #texas .col-xs-12 {
    display: flex;
    justify-content: center;
  }

  #texas .list-style {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

}

/* Training Section */
#training {
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 100px 0;
}

#training h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(124, 92, 255, 0.08);
}

#training h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--accent-cyan));
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.5);
}

#training img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-top: 10px;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.4s ease;
  opacity: 0.92;
  mix-blend-mode: screen;
}

#training img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

#training .about-text {
  text-align: left; /* default desktop */
}

#training .col-lg-4,
#training .col-md-6,
#training .col-sm-12 {
  padding: 0 15px;
  margin-bottom: 30px;
}

#training ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#training .list-style {
  margin-top: 20px;
}

@media (max-width: 768px) {
  #training .about-text {
    text-align: center; /* center headings & text on small screens */
  }

  #training h2 {
    font-size: 28px; /* scale down font */
  }

  #training h3 {
    font-size: 18px;
  }

  #training .list-item {
    justify-content: center;
    text-align: center;
  }

  #training ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #training .col-lg-4,
  #training .col-md-6,
  #training .col-sm-12 {
    display: flex;
    justify-content: center;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  #training .list-style {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .partner-grid {
    justify-content: center;
  }

  .partner-card {
    flex: 1 1 45%;
    /* Two per row with spacing */
    max-width: 45%;
  }

  .partner-img {
    width: 100%;
    height: auto;
  }

  .dir-logo {
    max-width: 100px;
  }


  .dir-services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dir-services-row > div {
    text-align: center;
    margin-bottom: 20px;
  }
}

/* Additional mobile breakpoints for better responsiveness */

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }

  .navbar-logo {
    max-width: 160px;
    padding: 5px;
  }

  #menu {
    padding: 8px 5px;
  }

  #menu a.navbar-brand {
    padding: 3px 10px;
  }

  #menu.navbar-default .navbar-nav>li>a {
    font-size: 14px;
    margin: 9px 10px 0;
    color: #fff;
  }

  #about, #services, #portfolio, #team, #contact, #training, #texas {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .btn-custom {
    padding: 12px 24px;
    font-size: 14px;
  }

  #contact .col-md-8,
  #contact .col-md-3 {
    width: 100%;
    padding: 0 15px;
  }

  #contact .contact-info {
    margin-top: 40px;
  }

  #contact h3 {
    margin-top: 0;
  }

  #contact form {
    text-align: center;
  }

  #contact .row {
    text-align: left;
  }

  #contact .form-group {
    text-align: left;
  }

  #contact .btn-custom {
    margin: 30px auto;
    display: inline-block;
  }

  .partner-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .partner-img {
    width: 140px;
    height: 140px;
  }

  #services i.fa {
    width: 100px;
    height: 100px;
    font-size: 36px;
    padding: 32px 0;
  }
}

/* Very small phones (max 360px) */
@media (max-width: 360px) {
  #about, #services, #portfolio, #team, #contact, #training, #texas {
    padding: 40px 0;
  }

  h2 {
    font-size: 24px;
  }

  .intro h1, .intro-texas h1 {
    font-size: 24px;
    color: #1a1a1a;
  }

  header .intro-text {
    padding-top: 160px;
    padding-bottom: 50px;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar-logo {
    max-width: 140px;
    padding: 4px;
  }

  #menu a.navbar-brand {
    padding: 3px 8px;
  }

  #menu {
    padding: 5px 3px;
  }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }

  #about img, #texas img, #training img {
    max-width: 400px;
    margin: 20px auto;
    display: block;
  }

  #about, #texas, #training {
    text-align: center;
  }

  #about .row, #texas .row, #training .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  #about .about-text, #texas .about-text, #training .about-text {
    text-align: center;
  }

  #texas ul, #about ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #texas .col-lg-6,
  #texas .col-sm-6,
  #texas .col-xs-12,
  #about .col-lg-6,
  #about .col-sm-6,
  #about .col-xs-12 {
    display: flex;
    justify-content: center;
  }

  #texas .list-style,
  #about .list-style {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .partner-card {
    flex: 1 1 30%;
    max-width: 30%;
  }
}

/* Large desktops (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }

  h2 {
    font-size: 40px;
  }

  .intro h1, .intro-texas h1 {
    font-size: 56px;
    color: #1a1a1a;
  }

  .intro p, .intro-texas p {
    font-size: 24px;
    color: #333;
  }
  
}

/* Modern IT Consulting Aesthetic Enhancements */

/* Glassmorphism effect for cards in colored sections */

/* Remove glass from training and texas containers */
#training .col-lg-4,
#texas .about-text {
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0;
}


#contact .contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(2, 6, 23, 0.8), 0 0 0 2px rgba(124, 92, 255, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.04);
}

/* Black text for main headings */
.intro h1,
.intro-texas h1 {
  color: #f8fbff;
  text-shadow: none;
}

/* Add subtle glow to CTA buttons */
.btn-custom {
  box-shadow: 0 4px 15px rgba(92, 169, 251, 0.3);
}

.btn-custom:hover {
  box-shadow: 0 6px 25px rgba(92, 169, 251, 0.5);
}

/* Modern section divider */
section:not(#portfolio):not(#team)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, transparent, #5ca9fb, transparent);
  opacity: 0.5;
}

/* Additional polish and improvements */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Improve section spacing on mobile */
@media (max-width: 768px) {
  section {
    overflow-x: hidden;
  }
}

/* Better button hover states */
.btn-custom {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom:hover::before {
  left: 0;
}

/* Improve service cards on tablet */
@media (min-width: 768px) and (max-width: 991px) {
  #services .service-desc {
    min-height: 180px;
  }
}

/* Better focus states for accessibility */
input:focus,
textarea:focus,
button:focus {
  outline: 2px solid #5ca9fb;
  outline-offset: 2px;
}

/* Improve image loading with background */
/* Global glass effect for all images */
img {
  border-radius: 12px;
  transition: all 0.3s ease;
}


/* Better responsive container padding */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Ensure all sections don't overflow */
body {
  overflow-x: hidden;
}

/* Improve table responsiveness if any tables are added */
table {
  width: 100%;
  max-width: 100%;
}