/* =======================================================
*
* 	MODERN DESIGN SYSTEM
*
* ======================================================= */

:root {
  --primary-deep: #050a30;
  --secondary-cyber: #0056b3;
  --accent-neon: #00f2ff;
  --text-light: #f8f9fa;
  --text-dim: rgba(248, 249, 250, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  background: var(--primary-deep);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  letter-spacing: 1px;
}

/* Glassmorphism Utilities */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-nav {
  background: rgba(5, 10, 48, 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Buttons */
.btn-modern {
  background: transparent;
  border: 2px solid var(--accent-neon);
  color: var(--accent-neon);
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-modern:hover {
  background: var(--accent-neon);
  color: var(--primary-deep);
  box-shadow: 0 0 20px var(--accent-neon);
}

/* Hero Video Container */
.hero-video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 10, 48, 0.4), rgba(5, 10, 48, 0.9));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}


#fh5co-services .icon:before {
  color: #fff;
}

#fh5co-services .section-heading h2 {
  color: #fff;
}

#fh5co-services .section-heading h2.left-border:after {
  background: rgba(255, 255, 255, 0.3);
}

#fh5co-counters {
  background: #52d3aa;
  overflow: hidden;
  background-color: transparent;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  width: 100%;
  padding: 9em 0 10em 0;
}

@media screen and (max-width: 768px) {
  #fh5co-counters {
    padding: 4em 0;
  }
}

#fh5co-counters .fh5co-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
}

#fh5co-counters:before,
#fh5co-counters:after {
  position: absolute;
  transform: rotate(-1.7deg);
  -ms-transform: rotate(-1.7deg);
  -webkit-transform: rotate(-1.7deg);
  -o-transform: rotate(-1.7deg);
  -moz-transform: rotate(-1.7deg);
  background-color: #fff;
  content: "";
  z-index: 3;
  display: inline-block;
  height: 70px;
  padding: 0;
  width: 101%;
}

#fh5co-counters:before {
  top: 0;
  margin-top: -35px;
}

#fh5co-counters:after {
  bottom: 0;
  margin-bottom: -35px;
}

#fh5co-counters .section-heading {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

#fh5co-counters .section-heading h2 {
  color: #fff;
}

#fh5co-counters .section-heading h2:after {
  background: rgba(255, 255, 255, 0.3) !important;
}

#fh5co-counters .section-heading .subtext h3 {
  color: rgba(255, 255, 255, 0.7) !important;
}

#fh5co-counters .fh5co-counter {
  position: relative;
  z-index: 3;
  text-align: center;
}

@media screen and (max-width: 992px) {
  #fh5co-counters .fh5co-counter {
    margin-bottom: 50px;
    float: left;
    width: 100%;
  }
}

#fh5co-counters .fh5co-counter .fh5co-counter-icon,
#fh5co-counters .fh5co-counter .fh5co-counter-number,
#fh5co-counters .fh5co-counter .fh5co-counter-label {
  display: block;
}

#fh5co-counters .fh5co-counter .fh5co-counter-icon {
  font-size: 40px;
  color: #52d3aa;
}

#fh5co-counters .fh5co-counter .fh5co-counter-number {
  font-size: 70px;
  color: #fff;
  font-weight: 300;
}

#fh5co-counters .fh5co-counter .fh5co-counter-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  font-weight: 400;
}

.counter-section {
  margin: 10% auto;
  color: #fff;
}

.icon-box {
  border: 1px solid #fff;
  height: 100px;
  width: 100px;
  margin: 20px auto;
  transform: rotate(45deg);
}

.icon-box .fa {
  font-size: 40px;
  margin: 25px auto;
  color: #ffc8ff;
  transform: rotate(-45deg);
}

.counter-box p {
  font-size: 20px;

}

.counter-box .counter {
  font-size: 80px;
}

/* Modern Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 242, 255, 0.2);
  border-color: var(--accent-neon);
}

.card .card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem !important;
  font-weight: 600;
}

.card .card-content {
  color: var(--text-dim);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
}

/* Material Icons Preservation */
.material-icons {
  /* Keep standard behavior but allow accent colors to shine */
  transition: var(--transition-smooth);
}

/* Adjustments for existing sections to work with dark theme */
.section.white {
  background-color: var(--primary-deep) !important;
}

.grey-text.text-darken-3 {
  color: var(--text-dim) !important;
}

h2.header {
  color: var(--text-light) !important;
}

/* Custom colors for specific service icons as per original */
.green-text.text-darken-4 {
  color: #22b573 !important;
}

.red-text.text-darken-4 {
  color: #f15a24 !important;
}

.blue-text.text-darken-4 {
  color: #29abe2 !important;
}

.purple-text.text-darken-4 {
  color: #662d91 !important;
}

/* Typography responsiveness for mobile */
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem !important;
    letter-spacing: 3px !important;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.3rem !important;
    letter-spacing: 1px !important;
    line-height: 1.2;
  }
  .hero-content h5 {
    font-size: 1.2rem !important;
  }
}