/********** Custom Glassy Blue Theme CSS **********/
:root {
  --primary: #4dabf7;        /* Blue glow */
  --secondary: rgba(29, 45, 68, 0.6);  /* Semi-glass background */
  --light: #e3f2fd;          /* Soft light blue for text/borders */
  --dark: #1a2b3c;           /* Deep navy */
}

body {
  background: linear-gradient(135deg, #1a8c96, #03b05f);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* Spinner */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* Typography */
.fw-semi-bold { font-weight: 600; }
.fw-medium { font-weight: 500; }

/* Buttons */
.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-square { width: 40px; height: 40px; }
.btn-sm-square { width: 30px; height: 30px; }
.btn-lg-square { width: 50px; height: 50px; }

.btn.btn-primary {
  color: #ffffff;
  background-color: var(--primary);
  border: none;
}
.btn.btn-primary:hover {
  background-color: #339af0;
}

/* Typed Cursor */
.typed-cursor {
  font-size: 25px;
  color: var(--light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1;
  font-size: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  transition: background 0.5s;
  animation: action 1s infinite alternate;
}
.back-to-top i {
  color: var(--primary);
}
.back-to-top i:hover {
  color: var(--light);
}
@keyframes action {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* Section Titles */
.title {
  position: relative;
}
.title::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--light);
  border-radius: 50%;
}
.title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  background: var(--light);
  border-radius: 2px;
}

/* Progress Bar */
.progress {
  height: 5px;
  background-color: rgba(255, 255, 255, 0.1);
}
.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

/* Service Item */
.service-item {
  padding: 30px;
  text-align: center;
  background: var(--secondary);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.service-item i {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: .5s;
  border-radius: 50%;
}
.service-item:hover i {
  background: var(--primary);
  color: var(--light);
}

/* Portfolio Hover */
.portfolio-item .portfolio-btn {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  font-size: 90px;
  background: rgba(26, 43, 60, 0.85);
  opacity: 0;
  transition: .5s;
}
.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  top: 30px;
  left: 30px;
}
.portfolio-item i {
  opacity: 0;
  transition: .3s;
  transition-delay: .3s;
}
.portfolio-item:hover i {
  opacity: 1;
}

/* Testimonials */
.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}
.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--light);
}
.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}
