:root {
  --bs-primary: #008080;
  --bs-primary-rgb: 0, 128, 128;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  touch-action: manipulation;

}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  cursor: none;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Hide default cursor on form fields */
input,
textarea,
select,
button {
  cursor: none !important;
}

/* Hide cursor on mobile */
@media (max-width: 768px), (hover: none) {
  #cursor {
    display: none !important;
  }
}

/* Gooey cursor styles */
.Cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  filter: url("#goo");
  width: 0;
  height: 0;
}

.Cursor span {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 20px;
  background-color: #474847;
  transform: translate(-50%, -50%);
  filter: blur(1px);
  mix-blend-mode: color-dodge;
  opacity: 0.2;
  transition: transform 0.08s ease, opacity 0.08s ease;
  will-change: transform, opacity;
  transform-origin: center center;
  animation: fadeInCursor 0.4s ease forwards;
}

.Cursor.hovering-link span {
  background-color: #505050;
  mix-blend-mode: lighten;
  transform: scale(0.3);
  opacity: 0.11;
}

.Cursor.hidden {
  display: none;
}

.Cursor.cursor-glow span {
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6), 0 0 24px rgba(0, 255, 255, 0.3);
  opacity: 0.3;
  transform: scale(1.2);
}

/* Navbar cursor override */
.navbar-nav .nav-link {
  cursor: none !important;
}

/* - .hero, .section, .card, .footer, .btn, .btn-brand, .get-directions-btn */
.hero {
  background: linear-gradient(to right, #008080, #2c3e50);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #fff;
}

.section {
  padding: 3rem 1rem;
}

.card {
  background-color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  background-color: #008080 !important;
  color: #ffffff !important;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-brand:hover {
  background-color: #006666;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: #008080 !important;
  border-color: #008080 !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #008080 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.get-directions-btn {
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-directions-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* - .client-logo, .logo-marquee, .about-title, .section-title, .form-control */
.client-logo {
  height: 80px;
  flex-shrink: 0;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 10px;
  pointer-events: auto;
}

.client-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #505050);
}

.logo-marquee-wrapper {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.logo-marquee {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 50s linear infinite;
  will-change: transform;
  pointer-events: auto;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-title,
.blog-title,
.projects-title,
.services-title,
.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  border-left: 6px solid #008080;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  padding-left: 1rem;
}

form .form-control,
form .form-select {
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid #ccc;
}

form .form-control:focus,
form .form-select:focus {
  border-color: #008080;
  box-shadow: 0 0 0 0.2rem rgba(0,128,128,0.25);
}

.founder-photo {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 3%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)); /* Curved shadow */
  margin-bottom: 1rem;
  position: relative;
  top: -30px; /* Lifts the image slightly */
}

/* - .flip-card, .icon-wrapper, .cta-strip, .timeline-strip, .site-footer */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s, box-shadow 0.3s ease;
  border-radius: 12px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 0 20px rgba(0, 128, 128, 0.4);
  animation: pulseGlow 1.5s infinite;
  animation-delay: 0.6s;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #008080;
}

.icon svg {
  transition: transform 0.3s ease, fill 0.3s ease;
}

.flip-card:hover .icon svg {
  transform: scale(1.2);
  fill: #006666;
}

.icon:hover svg {
  transform: scale(1.2);
  fill: #006666;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 10px rgba(0,128,128,0.2); }
  50%  { box-shadow: 0 0 20px rgba(0,128,128,0.4); }
  100% { box-shadow: 0 0 10px rgba(0,128,128,0.2); }
}

.blockquote {
  position: realtive;
  font-style: italic;
  border-left: 4px solid #008080;
  padding: 2rem;
  color: #333;
  margin-bottom: 1rem;
  animation: fadeInLeft 0.6s ease;
}
blockquote::before {
  content: "“";
  font-size: 5rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: #e0e0e0;
  z-index: 0;
}

.blockquotefooter {
  color: #ffffff;
  background-color: #008080;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 1rem;
  animation: fadeInUp 0.6s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.icon-wrapper svg {
  transition: transform 0.3s ease;
}

.icon-wrapper:hover svg {
  transform: scale(1.1);
}

.icon-wrapper h6 {
  font-weight: 600;
  color: #333;
}

.icon-wrapper p {
  color: #555;
}

.cta-strip {
  background: linear-gradient(to top, #008080, #2c3e50);
  padding: 0.5rem 1rem;
  text-align: center;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-button {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  transition:
    box-shadow 0.4s ease-in-out,
    text-shadow 0.4s ease-in-out,
    transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 4px rgba(0, 255, 255, 0.3),
    0 0 8px rgba(0, 255, 255, 0.4),
    0 0 12px rgba(0, 255, 255, 0.5);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 8px rgba(0,255,255,5); }
  50%  { box-shadow: 0 0 24px rgba(0,255,255,10); }
  100% { box-shadow: 0 0 8px rgba(0,255,255,5); }
}

.cta-button:hover {
  animation: glowPulse 1.5s ease-in-out infinite;
}

.navbar {
  background: 
    linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1)),
    linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
  backdrop-filter: blur(10px); /* optional: frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  padding: 0.75rem 1rem;
  z-index: 1000;
  animation: fadeInDown 0.6s ease;
}

.shadow-on-scroll.scrolled {
  box-shadow: 0 12px 18px rgba(50, 50, 50, 0.5);
  background-color: tansparent; /* Optional: add subtle background on scroll */
}

.navbar-brand {
  padding: 0;
  padding-left: 20px;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
}

.navbar-nav .nav-link {
  color: #505050 !important;
  font-weight: 700;
  margin-left: 3rem;
  transition: color 0.3s ease;
  cursor: none !important;
}

.navbar-nav .nav-link:hover {
  color: #008080 !important;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spark-icon svg:hover {
  filter: drop-shadow(0 0 12px #008080);
  transition: filter 0.3s ease;
}

.explore-btn {
  margin-top: 2rem;
  animation: pulseFade 1.2s ease-in-out infinite alternate;
}

@keyframes pulseFade {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

.Cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999; /* 👈 Highest priority */
  filter: url("#goo");
  width: 0;
  height: 0;
}

.Cursor span {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 20px;
  background-color: #474847;
  transform: translate(-50%, -50%);
  filter: blur(1px);
  mix-blend-mode: color-dodge;
  opacity: 0.2;
  transition: transform 0.08s ease, opacity 0.08s ease;
  will-change: transform, opacity;
  transform-origin: center center;
}

.Cursor.hovering-link span {
  background-color: #505050; /* or your brand accent */
  mix-blend-mode: lighten;
  transform: scale(0.3);
  opacity: 0.075;
}

.Cursor.hidden {
  display: none;
}

@media (max-width: 768px), (hover: none) {
  #cursor {
    display: none !important;
  }
}

.timeline-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* border-top: 2px solid #008080; */
  padding-top: 2rem;
}

.timeline-strip h1 {
  font-size: 2rem;
  color: #008080;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.timeline-icon svg {
  width: 28px;
  height: 28px;
  fill: #008080;
  margin-bottom: 8px;
}

.timeline-desc {
  font-style: italic;
  color: #555;
  margin-top: -20px;
}

.site-footer {
  background: linear-gradient(to top, #2c3e50, #008080);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease;
  border-top: 2px solid #008080;
}

.site-footer a {
  color: #ccc;
  transition: text-shadow 0.4s ease-in-out;
}

.site-footer a:hover {
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.8);
}

/* services card */
.card i,
.card h4 {
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover i {
  transform: scale(1.1);
}
.card .text-muted.small {
  font-style: italic;
  color: #555;
}

.gradient-border {
  border: 2px solid transparent;
  border-image: linear-gradient(to right, #008080, #2c3e50) 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.gradient-border:hover {
  transform: translateY(-4px);
}

.card:hover i {
  transform: scale(1.1);
}

.card:hover h4 {
  color: #008080;
}

/* Projects badge format for card */
.bg-teal {
  background-color: #008080;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.3em 0.6em;
  border-radius: 0.5rem;
  display: inline-block;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.bg-teal:hover {
  background-color: #006666;
}

/* explore our services button */
.glow-button {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  transition:
    box-shadow 0.4s ease-in-out,
    text-shadow 0.4s ease-in-out,
    transform 0.3s ease;
}

.glow-button:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 6px rgba(0, 255, 255, 0.3),
    0 0 12px rgba(0, 255, 255, 0.4),
    0 0 18px rgba(0, 255, 255, 0.5);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

