/* Background and layout */
body {
  background: url("/static/background.png") no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  color: white;
  margin: 0;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container overlay */
.container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 10px;
}

h1, h2, h5, .lead, label, p {
  color: #ffffff;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.6);
  margin-top: auto; /* pushes it to bottom */
  padding: 1rem;
}

/* Transparent modal with glass effect */
.custom-modal-bg {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid #ffffff22;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px #00000088;
}

/* Transparent form fields */
.custom-modal-bg .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #ffffff44;
  color: white;
}

.custom-modal-bg .form-control::placeholder {
  color: #ccc;
}

/* About section */
.about-section {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.about-section i {
  color: #0dcaf0;
}

/* Tech Stack */
.tech-stack-section img {
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.tech-stack-section img:hover {
  transform: scale(1.1);
}
.tech-stack-section p {
  color: #ddd;
}

.btn-primary,
.btn-outline-info {
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover,
.btn-outline-info:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-group-custom {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

.btn-outline-light:hover,
.btn-outline-info:hover,
.btn-outline-success:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-success:hover {
    background-color: rgba(40, 167, 69, 0.1); /* Light green background */
}

.tech-stack-section img {
  background-color: rgba(255, 255, 255, 0.05); /* add faint background */
  border-radius: 8px;
  padding: 6px;
}

.about-section .col-md-4 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  padding: 1rem;
}

.about-section .col-md-4:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.6);
  background-color: rgba(255, 255, 255, 0.05);
}

#schedule-section iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* Prevent Calendly loading spinner from showing before scroll */
#calendly-inline-widget > div:first-child {
  visibility: hidden;
}

#calendly-inline-widget.calendly-inline-widget-loaded > div:first-child {
  visibility: visible;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #000; /* or your preferred background */
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  overscroll-behavior: none; /* Prevents bouncing on some devices */
}

.page-wrapper {
  overflow-x: hidden;
}

section, footer, header, .container, .modal {
  box-sizing: border-box;
  overflow-x: hidden;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

.transparent-navbar .navbar-brand,
.transparent-navbar .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.875rem; /* optional: smaller font */
}