/* Modern Color Variables */
:root {
  --primary-color: #1c2c44;
  --secondary-color: #4a90e2;
  --accent-color: #ff6b6b;
  --gradient-1: linear-gradient(135deg, #1c2c44 0%, #4a90e2 100%);
  --gradient-2: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
  --gradient-3: linear-gradient(135deg, #4a90e2 0%, #1c2c44 100%);
}

body {
  font: 400 15px Lato, sans-serif;
  line-height: 1.8;
  color: #0e0000;
  position: relative;
  min-height: 100vh;
  /* Ensures full coverage even with little content */
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);

  z-index: -2;
  animation: gradientBG 15s ease infinite;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/img1.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
  animation: pulseBG 10s ease-in-out infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* Typography with Animation */
h2 {
  font-size: 24px;
  text-transform: uppercase;
  color: #00fff7;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-2);
  transition: width 0.3s ease;
}

h2:hover::after {
  width: 100%;
}

h4 {
  font-size: 19px;
  line-height: 1.375em;
  color: #edf0f5;
  font-weight: 400;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

h4:hover {
  transform: translateX(10px);
}

/* Animated Icons */
i {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

i:hover {
  color: var(--accent-color);
  transform: scale(1.2) rotate(5deg);
}

/* Modern Jumbotron */
.jumbotron {
  background: transparent;
  color: #fff;
  padding: 50px 50px;
  font-family: Montserrat, sans-serif;
  position: relative;
  overflow: hidden;
}

@keyframes movePattern {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 60px;
  }
}

/* Animated Cards/Panels */
.panel {
  border: none;
  border-radius: 15px !important;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.panel-heading {
  background: var(--gradient-1) !important;
  color: #fff !important;
  padding: 25px;
  border-radius: 15px 15px 0 0 !important;
  position: relative;
  overflow: hidden;
}

.panel-heading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* Modern Navbar */
.navbar {
  background: rgba(28, 44, 68, 0.15) !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff !important;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar .navbar-brand,
.navbar .navbar-nav>li>a {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.navbar .navbar-nav>li>a:hover,
.navbar .navbar-nav>li.active>a {
  color: #00fff7 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

.navbar-brand {
  font-weight: bold;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-nav>li>a {
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav>li>a:hover::after {
  width: 100%;
}

/* Animated Buttons */
.btn {
  border-radius: 25px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animated Footer */
footer {
  background: transparent;
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

/* Responsive Animations */
@media screen and (max-width: 768px) {
  .col-sm-4 {
    text-align: center;
    margin: 25px 0;
    transition: all 0.3s ease;
  }

  .col-sm-4:hover {
    transform: scale(1.05);
  }

  .btn-lg {
    width: 100%;
    margin-bottom: 35px;
  }
}

/* Flash Animation for Offers */
.flash {
  animation: flash 1.5s infinite;
  position: relative;
}

@keyframes flash {
  0% {
    color: #fff;
    text-shadow: 0 0 5px var(--accent-color);
  }

  50% {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
  }

  100% {
    color: #fff;
    text-shadow: 0 0 5px var(--accent-color);
  }
}

/* Scroll Animations */
.slideanim {
  visibility: hidden;
}

.slide {
  animation-name: slide;
  animation-duration: 1s;
  visibility: visible;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bounce {
  animation: bounce 1s ease infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.rotate {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.container-fluid {
  padding: 60px 50px;
}

.bg-grey {
  background-color: #f6f6f630;
}

.logo-small {
  color: #1c2c44;
  font-size: 50px;
}

.logo {
  color: #1c2c44;
  font-size: 200px;
}

.thumbnail {
  padding: 0 0 15px 0;
  border: none;
  border-radius: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}

.carousel-control.right,
.carousel-control.left {
  background-image: none;
  color: #1c2c44;
}

.carousel-indicators li {
  border-color: #1c2c44;
}

.carousel-indicators li.active {
  background-color: #1c2c44;
}

.item h4 {
  font-size: 19px;
  line-height: 1.375em;
  font-weight: 400;
  font-style: italic;
  margin: 70px 0;
}

.item span {
  font-style: normal;
}

.panel-footer .btn:hover {
  border: 1px solid #1c2c44;
  background-color: #fff !important;
  color: #1c2c44;
}

.panel-footer {
  background-color: white !important;
}

.panel-footer h3 {
  font-size: 32px;
}

.panel-footer h4 {
  color: #000000;
  font-size: 14px;
}

.panel-footer .btn {
  margin: 15px 0;
  background-color: #1c2c44;
  color: #fff;
}

.navbar li a,
.navbar .navbar-brand {
  color: #fff !important;
}

.navbar-nav li a:hover,
.navbar-nav li.active a {
  color: #1c2c44 !important;
  background-color: #fff !important;
}

.navbar-default .navbar-toggle {
  border-color: transparent;
  color: #fff !important;
}

footer .glyphicon {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1c2c44;
}

@media screen and (max-width: 480px) {
  .logo {
    font-size: 150px;
  }
}

/* Service Icons Animation */
#services h1 i {
  transition: all 0.5s ease;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}

#services h1 i:hover {
  transform: scale(1.2) rotate(10deg);
  color: #00ff00 !important;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

@keyframes iconFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Service Headings Animation */
#services h4 {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

#services h4::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#services h4:hover {
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

#services h4:hover::after {
  width: 100%;
}

/* Globe Logo Animation */
.glyphicon-globe.logo {
  display: inline-block;
  animation: globeRotate 20s linear infinite, globeGlow 3s ease-in-out infinite;
  color: #4a90e2;
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
  transition: all 0.3s ease;
}



@keyframes globeRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes globeGlow {
  0% {
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
  }

  50% {
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8),
      0 0 30px rgba(74, 144, 226, 0.6);
  }

  100% {
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
  }
}

/* Remove zoom/pulse from signal icon, keep color/glow */
.glyphicon-signal.logo {
  display: inline-block !important;
  position: relative !important;
  transition: color 0.3s, text-shadow 0.3s;
  color: rgb(115, 233, 227) !important;
  font-size: 200px !important;
  animation: glowSignal 2s ease-in-out infinite;
}

.glyphicon-signal.logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(115, 233, 227, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}



@keyframes glowSignal {
  0% {
    text-shadow: 0 0 10px rgba(115, 233, 227, 0.5), 0 0 20px rgba(115, 233, 227, 0.3);
  }

  50% {
    text-shadow: 0 0 30px rgba(115, 233, 227, 1), 0 0 60px rgba(115, 233, 227, 0.7);
  }

  100% {
    text-shadow: 0 0 10px rgba(115, 233, 227, 0.5), 0 0 20px rgba(115, 233, 227, 0.3);
  }
}

/* Ensure the icon is visible in the container */
#services .glyphicon-signal.logo,
.jumbotron .glyphicon-signal.logo {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Remove zooming effect for background images */
body,
.pricing-row,
.row.slideanim,
#pricing .row,
#services .row,
.container-fluid.bg-grey {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Fixed color for navbar menu (hamburger) icon */
.navbar-toggle .icon-bar {
  background-color: #fff !important;
  /* Always white, change to your preferred color if needed */
  transition: background 0.3s;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus .icon-bar {
  background-color: #00fff7 !important;
  /* Optional: accent color on hover/focus */
}

.navbar-nav li a i {
  margin-right: 8px;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.navbar-nav li a:hover i {
  color: chartreuse;
  transform: scale(1.2) rotate(15deg);
}

.flash {
  animation: flash 1.5s infinite;
  position: relative;
}

@keyframes flash {
  0% {
    color: #fff;
    text-shadow: 0 0 5px var(--accent-color);
  }

  50% {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
  }

  100% {
    color: #fff;
    text-shadow: 0 0 5px var(--accent-color);
  }
}

/* Add hover effect for menu items */
.navbar-nav li a {
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav li a:hover {
  transform: translateY(-2px);
}

.navbar-nav li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav li a:hover::before {
  width: 100%;
}



/* Improve mobile menu button */
.navbar-toggle {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Animation delays for nav items */
.navbar-nav li:nth-child(1) a {
  animation-delay: 0.1s;
}

.navbar-nav li:nth-child(2) a {
  animation-delay: 0.2s;
}

.navbar-nav li:nth-child(3) a {
  animation-delay: 0.3s;
}

.navbar-nav li:nth-child(4) a {
  animation-delay: 0.4s;
}

.navbar-nav li:nth-child(5) a {
  animation-delay: 0.5s;
}