/* === DARK THEME BASE === */
body {
  font-family: 'Sora', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
  overflow-x: hidden;
}

/* 🌐 3D Ripple Canvas */
#ripple-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  filter: blur(40px) brightness(1.4);
  opacity: 0.8;
}

/* 💠 Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.subheadline {
  font-size: 1.5rem;
  color: #00cfff;
  margin-top: 1rem;
  text-align: center;
}

.cursor {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00cfff;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.cta-button {
  display: inline-block;
  margin-top: 5rem;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  background-color: #00cfff;
  color: black;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #00aacc;
  color: white;
}


#goBackBtn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  display: none;
  background-color: transparent;
  color: #00cfff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}



/* 🛠 Tools Section */
.tools-section {
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
}

.tools-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tool-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.2rem 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  color: #00eaff;
  min-width: 140px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  transition: 0.3s;
}

.tool-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* === General Elements === */
header {
  padding: 2rem;
  text-align: center;
  background-color: rgba(13, 13, 13, 0);
}

a, h1, h2, h3, h4, h5, h6, p {
  color: #e8e8e8;
}

section {
  padding: 2rem;
  border-radius: 16px;
  margin: 1rem 0;
  box-shadow: none;
}

button {
  background: linear-gradient(135deg, #7a5cf4, #00ffe3);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: bold;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #7a5cf4;
}

/* === Services === */
.services, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  
}

/* Make all cards equal height */
.service-card,
.feature-item {
  background-color: #1e1e1e;
  border-radius: 12px;
  width: 320px;
  height: 460px; /* Enforce same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  overflow: hidden;
}




/* Ensure consistent image height */
/* === Service Cards (ai-integration.html) === */
.service-card {
  background-color: #1e1e1e;
  border-radius: 12px;
  width: 320px;
  height: 450px; /* Custom height for service cards */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* === Feature Cards (hosting-management.html) === */
.feature-item {
  background-color: #1e1e1e;
  border-radius: 12px;
  width: 320px;
  height: 280px; /* <-- You can adjust this manually */
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  overflow: hidden;         /* Prevent content from forcing height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.feature-item:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover,
.feature-item:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
 
}

.service-card h2,
.feature-item h4{
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #61dafb;
}



.feature-item p {
  font-size: 1rem;
  color: #eeecec;
}

.feature-item.clickable {
  cursor: pointer;
}

/* === Footer & Bottom Bar === */
footer {
  padding: 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  color: #888;
}

.bottom-btn {
  background: #111;
  color: #00cfff;
  padding: 10px 20px;
  border: 1px solid #00cfff;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.bottom-btn:hover {
  background: #d2d7d8;
  color: #000;
}

/* 🔙 Back Button Top-Left Corner */
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #00ffe3 #5f00ff #5f00ff;
  color: transparent;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: bold;
  border: transparent;
  border-radius: 8px;
  text-decoration: none;
  z-index: 999;
  transition: background-color 0.3s, transform 0.2s;
}

.back-button:hover {
  background-color: rgba(0, 224, 255, 0.2);
  transform: scale(1.05);
}

/* === Logo + Header === */
.logo-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  transform: scale(1.1);
}

.logo-icon svg {
  width: 32px;
  height: 32px;
  fill: #61dafb;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.top-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 40px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00cfff;
  font-size: 2rem;
  font-weight: bold;
}

/* === Contact Form === */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  align-self: flex-start;
  color: #000;
}

.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #5d6063;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  resize: none;
  height: 48px;
}

.btn-primary {
  background: #5d6063;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #61dafb;
}

/* === Ripple Mouse Effects === */
.ripple, .mouse-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

.ripple {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(122,92,244,0.4) 20%, transparent 80%);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  animation: rippleAnim 0.6s ease-out;
}

@keyframes rippleAnim {
  0% { transform: scale(0); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.mouse-ripple {
  width: 70px;
  height: 70px;
  opacity: 0.15;
  filter: blur(6px);
  animation: rippleFloat 0.8s ease-out forwards;
}

.panel:not(.hidden) {
  display: block;
  animation: slideUp 0.4s ease-out;
}

.hidden {
  display: none !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}

/* Explore System */
#explore-system {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #111;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 200px;
}

.card {
  background: #1b1b1b;
  padding: 1.5rem;
  border-radius: 12px;
  width: 250px;
  color: #fff;
  box-shadow: 0 0 10px rgba(90, 84, 84, 0.2);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  z-index: 10;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00bfff;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bfff;
}

.orbit-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.orbit-track {
  display: flex;
  flex-wrap: nowrap;
  animation: scroll 70s linear infinite;
}

.orbiter {
  flex: 0 0 auto;
  padding: 0; /* Remove padding to avoid spacing */
  margin: 0;  /* Remove margin if not needed */
}


.card {
  width: 300px; /* Or the fixed width you're using */
  margin-right: 1rem; /* Optional spacing between cards */
}
.orbit-wrapper .card {
  width: 97%;
  height: 97%;
}


@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%); /* Moves half of duplicated track */
  }
}
/* Shadow effect for cards on hover */
.orbit-wrapper .card:hover,
.explore-title:hover {
  box-shadow: 0 0 25px rgba(205, 198, 198, 0.534);
  transition: box-shadow 0.3s ease;
}

/* Optional: slight scaling for more effect */
.orbit-wrapper .card:hover {
  transform: scale(1.03);
}
.orbit-wrapper .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  width: 100px;
}

.tool img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(80%);
}

.tool span {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
}

/* Hover animation */
.tool:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: grayscale(0%) brightness(100%);
}

.tool:hover span {
  color: #66e0ff;
  font-weight: 600;
}


/* === Universal Form Section Styling === */
#contactForm,
.cta-box,
.form-section,
#lets-talk {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0;
  padding-bottom: 3.5rem; /* ✅ Extra space for the button */
  background: transparent;
  border-radius:12px;
  box-shadow: none;
}

/* === Input & Select Styling === */
form input,
form select,
form textarea {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 16px;
  transition: border 0.3s;
   
}



form input:focus,
form select:focus,
form textarea:focus {
  border-color: #00bfff;
  outline: none;
  
}

/* === Button Styling (merged) === */
form button[type="submit"],
.btn-primary {
  background: #00bfff;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 0.5rem; /* ✅ Fix for visibility */
  transition: background 0.3s;
  
}

form button[type="submit"]:hover,
.btn-primary:hover {
  background: #009acc;
}
