/* 
 * Consolidated Stylesheet for ACE-NET Technology Website
 * Merged from all HTML pages with priority given to index.html styles
 */

/* ============================================
   CUSTOM TYPOGRAPHY & BASE STYLES
   ============================================ */

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #0f172a;
  scroll-behavior: smooth;
}
body * {
  /* outline: solid 1px; */
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-dark {
    color: #fff;
}

/* ============================================
   MATERIAL SYMBOLS ICONS
   ============================================ */

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.2);
  transition: all 150ms ease-in-out;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 4rem;
  max-width: 80rem;
  margin: 0 auto;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
}

.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

@media (min-width: 768px) {
  .nav-menu-desktop {
    display: flex;
  }
}

.nav-link {
  transition: color 200ms ease;
}

.nav-link:hover {
  color: #1e40af;
}

.nav-link-active {
  color: #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  padding-bottom: 0.25rem;
}

.btn {
    cursor: pointer;
}

.btn-primary {
  background-color: #1A4B84;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 150ms ease-in-out;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: white;
  border: 2px solid rgba(26, 75, 132, 0.2);
  color: #0f172a;
  padding: 2rem;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: all 200ms ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #1A4B84;
  box-shadow: 0 20px 25px -5px rgba(26, 75, 132, 0.05);
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu-summary {
  list-style: none;
  cursor: pointer;
  border-radius: 0.5rem;
  border: 1px solid rgba(182, 184, 188, 1);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  background: none;
  transition: background-color 150ms ease;
}

.mobile-menu-summary:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-content {
  position: absolute;
  right: 0;
  margin-top: 0.75rem;
  width: 14rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(226, 232, 240, 0.5);
  background-color: white;
  padding: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-menu-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: background-color 150ms ease;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.mobile-menu-link:hover {
  background-color: #f1f5f9;
}

/* ============================================
   CARD STYLES
   ============================================ */

.card {
  padding: 2rem;
  border: 1px solid rgba(26, 75, 132, 0.05);
  /* background-color: #f1f5f9; */
  background-color: rgb(26 75 132);
  border-radius: 0.25rem;
  transition: all 200ms ease;
}

.card:hover {
  border-color: rgba(26, 75, 132, 0.3);
  box-shadow: 0 20px 25px -5px rgba(26, 75, 132, 0.05);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  /* color: #0f172a; */
}

.card-description {
  font-size: 0.875rem;
  /* color: #475569; */
  margin-bottom: 2rem;
  line-height: 1.5;
}

.pills--enterprise {
  width: 150px;
  padding: 1em 1.5em;
  border-radius: 16px;
  background-color: rgb(26 75 132 / var(--tw-bg-opacity, 1));
  color: white;
  text-align: center;
}

/* ============================================
   HERO & BACKGROUND STYLES
   ============================================ */

.hero-bg-gradient {
  background: linear-gradient(135deg, #e2e8f0 0%, #ffffff 50%, #f1f5f9 100%);
}

.hero-section {
  background: 
  linear-gradient(135deg, rgba(226,232,240,0.9) 0%, rgba(255,255,255,0.85) 50%, rgba(241,245,249,0.7) 100%),
  url('assets/serveroom.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: space-y-8;
  max-width: 7xl;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.bg-opacity-100 {
    background-color: rgba(248, 250, 252, 1);
}

.bg-contact {
    background-image: url('assets/bg1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-BESS {
    background-image: url('assets/bg2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-brand-dark {
  background-color: #0f172a;
}

.grid-lines {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(26, 75, 132, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 75, 132, 0.08) 1px, transparent 1px);
}

.blueprint-grid {
  background-image: radial-gradient(circle, #1a4b84 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.05;
}

.technical-gradient {
  background: linear-gradient(135deg, #1A4B84 0%, #2b6cb0 100%);
}

.bg-white {
    background-color: white;
}

.bg-hero-about {
  background:
  linear-gradient(rgba(26, 75, 132, 0.5), rgba(26, 75, 132, 0.85)),
  url('assets/bg-about.jpg');
  background-size: cover;
  background-position: center;
}

.bg-hero-about h1 {
  color: white;
}

.bg-hero-about h1 span {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */

.section {
  padding: 6rem 0;
  background-color: white;
}

.section-light {
  background-color: #f1f5f9;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.products-services ul {
}

.products-services ul li b {
    display: block;
}

.products-services ul li {
    font-size: 14px;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background-color: rgb(247 249 255 / var(--tw-bg-opacity, 1));
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  color: #1A4B84;
  font-weight: 700;
  letter-spacing: 0.1em;
  /* font-size: 0.75rem; */
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================
   LAYOUT & SHAPE UTILITIES
   ============================================ */

.asymmetric-clip {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.glass-effect {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.7);
}

.ghost-border {
  border: 1px solid rgba(115, 119, 127, 0.15);
}

/* ============================================
   TRANSITIONS & ANIMATIONS
   ============================================ */

.tonal-shift {
  transition: background-color 0.3s ease;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  width: 100%;
  z-index: 50;
  padding: 2rem;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-footer a {
  position: relative;
  color: #64748b;
  font-size: 0.93rem;
  text-decoration: none;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.site-footer a:hover::after {
  transform: scaleX(1);
}

.site-footer p {
  color: #94a3b8;
  font-size: 0.92rem;
}

.subheading {
  font-size: 26px;
}

/* ============================================
   BRAND STYLES
   ============================================ */
.logo {
    /* max-width: 350px; */
    max-width: 420px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(0, 95, 82, 0.3);
  border-radius: 0.8rem;
  background: linear-gradient(145deg, rgba(0, 95, 82, 0.16), rgba(0, 95, 82, 0.04));
  color: #1A4B84;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  font-size: 0.98rem;
}

.brand-text span:last-child {
  color: #64748b;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.over-x-hidden {
    overflow-x: hidden;
}

/* ============================================
   EXPANDABLE PRODUCT STYLES
   ============================================ */

.expandable-product {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

details[open] .expandable-product-summary {
    opacity: 1;
}

.expandable-product:first-child {
  border-top: none;
  padding-top: 0;
}

.expandable-product-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: opacity 150ms ease-in-out;
}

.expandable-product-summary:hover {
  opacity: 1 !important;
}

.expandable-product-summary::-webkit-details-marker {
  display: none;
}

.expandable-product-icon {
  flex-shrink: 0;
  transition: transform 200ms ease-in-out;
}

details[open] .expandable-product-icon {
  transform: rotate(45deg);
}

.expandable-product-content {
  margin-top: 1rem;
  padding-top: 1rem;
  animation: slideDown 200ms ease-out;
}

.products-services summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.products-services details {
    flex-direction: column;
}

.products-services .expandable-product-icon {
    color: white;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .logo {
    max-width: 275px;;
  }
}

@media (max-width: 767px) {
  .mobile-menu {
    display: block;
  }
  .site-footer {
    flex-direction: column;
  }
  .bg-BESS .w-1\/2 {
    width: 100%;
  }
  .pills--enterprise {
    width: auto;
  }
}

@media (max-width: 465px) {
  .text-6xl, .text-5xl, .text-4xl, .section-title {
    font-size: 10vw;
  }
  .text-3xl {
    font-size: 6vw;
  }
  .navbar-container .brand {
    width: calc(100% - 5rem);
  }
  .navbar-container .brand .logo {
    max-width: calc(100% - 1rem);
  }
}

@media (max-width: 345px) {
  .site-footer nav {
    flex-direction: column;
    align-items: start;
    align-self: flex-start;
  }
}