@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
:root {
  --primary: #0048a7;
  --secondary: #85ffff;
  --darkPrimary: #00306e;
  --litePrimary: #0063e4;
  --warning: #fff01f;
  --error: #ff1f1f;
}

body {
  font-family: "Inter", sans-serif;
}

.toast-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
}

.toast-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: white !important;
}

.toast-error {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: white !important;
}

.toast-default {
  background: linear-gradient(135deg, #6b7280, #4b5563) !important;
  color: white !important;
}

.tab-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.search-btn-hover {
  position: relative;
  overflow: hidden;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  width: 2px;
  animation: blink 0.7s steps(1) infinite;
}
#typed-text {
  color: var(--primary);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.text-shadow-open {
  position: relative;
}
.text-shadow-open .shawod {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 2px #1e293b;
  text-stroke: 2px #1e293b;
  left: 50%;
  transform: translateX(-50%);
  text-wrap: nowrap;
  top: -1rem;
  opacity: 0.2;
}

.search-btn-hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.search-btn-hover:hover::before {
  width: 300px;
  height: 300px;
}

.gradient-bg {
  background: linear-gradient(135deg, #0048a7 0%, #0063e4 100%);
}

.contact-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 72, 167, 0.1);
  border-color: #0048a7;
}

.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}

.form-input:focus {
  outline: none;
  border-color: #0048a7;
  box-shadow: 0 0 0 3px rgba(0, 72, 167, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #0048a7 0%, #0063e4 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 72, 167, 0.3);
}

.office-hours {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floating-contact {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

.nav-border {
  background-color: #014caf;
  border: 3px solid #0d7fe2;
  border-radius: 0.3rem;
  padding: 0.2rem 0.5rem;
  text-shadow: 0 4px 4px #000000d8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 0.5rem;
}

.service-card {
  position: relative;
  background-color: var(--primary);
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
  height: 12rem;
  transition: all 0.3s ease;
  z-index: 4;
}

.service-card .circular-boundary {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 120%;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: -1;
}
.service-card .service-name {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  height: 4rem;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.4rem;
  background: linear-gradient(to top, var(--primary), #5494e9);
  width: 100%;
  transition: background 0.3s ease;
}

/* .service-card .service-name:hover {
  background: linear-gradient(to bottom, var(--primary), #5494e9);
  transition: background 0.3s ease;
} */
.service-card .cssbuttons-io-button {
  padding: 0.7em 1.4em 0.7em 1.1em;
  background: linear-gradient(to bottom, var(--primary), #5494e9);
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em #14a73e98;
  transition: all 0.3s ease;
}
.cssbuttons-io-button:hover {
  box-shadow: 0 0.5em 1.5em -0.5em #14a73e98;
  background: linear-gradient(to bottom, var(--primary), #8abfff);
  scale: 1.02;
  transition: all 0.3s ease;
}

.service-card .service-img {
  position: absolute;
  bottom: 4.5rem;
  width: 80%;
  height: 60%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
}

.service-card .service-img::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 10px;
  background-image: url("https://raw.githubusercontent.com/KEHEM-IT/onespaceservices/refs/heads/main/statics/shadow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
}

.service-card .service-img img {
  width: auto;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
}

.service-card .service-img img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.pattern-architect {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(12, 12, 12, 0.082) 2px, transparent 0);
  background-size: 30px 30px;
  background-position: -5px -5px;
  background-image: url(https://raw.githubusercontent.com/KEHEM-IT/onespaceservices/refs/heads/main/statics/123.jpg);
  background-size: cover;
  background-position-y: bottom;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.pattern-architect::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #00000098;
}

.sky-lines {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
}

.sky-line {
  position: absolute;
  width: 60%;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}
@media screen and (min-width: 1080px) {
  .sky-line {
    bottom: -35%;
  }
}
@media screen and (min-width: 1420px) {
  .sky-line {
    bottom: -60%;
  }
}

.sky-line img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* WHY CHOOSE US  */
.choose-gridder {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 1rem;
}

.card-content {
  position: relative;
  width: 100%;
  height: 25rem;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: -5px 4px 10px 0 #67a5a59f;
  overflow: hidden;
  color: #fff;
}
.card-content:hover {
  box-shadow: none;
}
/* Midnight Blue */
.gredient-1 {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* Dark Purple Glow */
.gredient-2 {
  background: linear-gradient(135deg, #1a0033, #3b0066, #6600cc);
}

/* Deep Emerald */
.gredient-3 {
  background: linear-gradient(135deg, #003319, #005c2d, #00a86b);
}

/* Charcoal to Steel */
.gredient-4 {
  background: linear-gradient(135deg, #232526, #414345);
}

/* Dark Crimson */
.gredient-5 {
  background: linear-gradient(135deg, #330000, #660000, #990000);
}
/* Obsidian Fade */
.gredient-6 {
  background: linear-gradient(135deg, #0d0d0d, #333333);
}

/* Twilight Indigo */
.gredient-7 {
  background: linear-gradient(135deg, #1c1c3c, #4b4b82);
}

/* Forest Night */
.gredient-8 {
  background: linear-gradient(135deg, #0b2e13, #26734d);
}

/* Ashen Gray */
.gredient-9 {
  background: linear-gradient(135deg, #2b2b2b, #5c5c5c);
}

/* Deep Ruby */
.gredient-10 {
  background: linear-gradient(135deg, #400013, #990033);
}

.card-content .choose-header {
  margin-top: 2rem;
  font-size: 1.8rem;
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
  text-wrap: wrap;
}

.card-content .choose-header-sub-heading {
  font-size: 1rem;
  text-align: center;
  padding: 0 0.5rem;
  color: #e6e6e6;
  text-wrap: wrap;
}
.card-content .dec-img-container {
  position: relative;
  width: auto;
  height: 100%;
}
.card-content .dec-img-container .eliptical-shaper {
  display: block;
  position: absolute;
  width: 150%;
  height: 200%;
  right: 1rem;
  top: 10%;
  border-radius: 30%;
  background-color: var(--primary);
  overflow: hidden;
}
.card-content .dec-img-container .eliptical-shaper img {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  right: 0;
  transition: all 0.3s ease;
}
.card-content .dec-img-container .eliptical-shaper:hover img {
  scale: 1.05;
  transform: skew(2deg);
  transition: all 0.3s ease;
}

.overlay-protection {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  z-index: 5;
}
.overlay-protection i {
  position: relative;
  z-index: 5;
  color: #fff;
}
.overlay-protection i::after {
  content: "";
  background-color: var(--error);
  width: 5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.loading {
  pointer-events: none;
  opacity: 0.7;
}

.spinner {
  animation: spin 1s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceSubtle {
  0%,
  100% {
    transform: translateY(0px);
  }

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px rgba(0, 72, 167, 0.3);
  }

  100% {
    box-shadow: 0 0 30px rgba(0, 72, 167, 0.6);
  }
}


        .input-floating:focus+label,
        .input-floating:not(:placeholder-shown)+label {
            transform: translateY(-35px) scale(0.8);
            color: #0048a7;
            background: white;
            padding: 0 4px;
            border-radius: 4px;
        }

        .input-floating+label {
            transition: all 0.2s ease-in-out;
            transform-origin: left top;
        }


/* MEDIA QUERY */

@media screen and (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 1rem;
  }

  .choose-gridder {
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 1rem;
  }

  .pattern-architect {
    position: relative;
  }
}

@media screen and (max-width: 768px) {
  .service-card {
    height: 18rem;
  }
  .service-card .service-img {
    width: 90%;
    height: 70%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .sky-line {
    top: 35.5%;
    width: 90%;
  }
}