:root{
    --primary:#667eea;
    --bg:#f4f7fb;
    --card:#ffffff;
    --accent:#22c55e;
}
.calculator{
    padding:30px;
    border-radius:16px;
}

.input-group{
    width:50%;
    margin: 22px auto;
}

.label-row{
    display:flex;
    justify-content:space-between;
    font-size:14px;
    margin-bottom:6px;
    font-weight:600;
    color:#667eea;
}

input[type="range"]{
    width:100%;
    appearance:none;
    height:8px;
    border-radius:6px;
    background:linear-gradient(to right,#667eea,#302b63,#24243e);
    outline:none;
}

input[type="range"]::-webkit-slider-thumb{
    appearance:none;
    width:20px;
    height:20px;
    background:linear-gradient(to right,#667eea,white,#24243e);
    border-radius:50%;
    border:1pt solid #cbd5e1;
    cursor:pointer;
    transition:0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover{
    transform:scale(1.2);
}

input[type="number"]{
    background:linear-gradient(to right,#667eea,#302b63,#24243e);
    width:100%;
    padding:8px;
    border-radius:8px;
    color: white;
    font-weight: 600;
    font-size:14px;
}

.result{
    padding:20px;
    background:linear-gradient(135deg,#0f0c29,#667eea,#302b63);
    border-radius:12px;
    text-align:center;
    font-size:20px;
    font-weight:bold;
    color:white;
    width: 100%;
    animation:fadeIn 0.5s ease-in-out;
}

small{
    display:block;
    text-align:center;
    margin-top:10px;
    color:#64748b;
}
.social-icons{
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}
.arrow-top{
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 10;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 10px;
    border: 2px solid white;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.arrow-top a i{
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
    margin: auto;
}
.funnel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.funnel-step {
  position: relative;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  color: #fff;
  background: rgba(102,126,234,0.2);
  border: 1px solid rgba(102,126,234,0.4);
}

.funnel-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: #667eea;
}

.funnel-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #667eea;
}

.highlight {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.social-icons a i{
    font-size: 2rem;
    margin: 0 auto;
}
@keyframes fadeIn{
    from{opacity:0; transform:translateY(5px);}
    to{opacity:1; transform:translateY(0);}
}
body {
    box-sizing: border-box;
    position: relative;
}

* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}
#nav-logo{
    margin-top: 5px;width: 60%;height: auto;
}
h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: 'Montserrat', sans-serif;
}
.flex-result{
    display:flex;
    align-items: center;
    justify-content:center;
    gap:20px;
    margin-top:25px;
}
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#hero-section {
    position: relative;
    overflow: hidden;
}

#hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("banner\ logo\ .png") no-repeat center center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0f0c29 0%,
        #302b63 50%,
        #24243e 100%
    );
    opacity: 0.8; /* Adjust overlay intensity */
    z-index: 2;
}
/* Ensure hero content appears above overlay */
#hero-section > * {
    position: relative;
    z-index: 3;
}

#contact {
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("footer\ banner\ .png") no-repeat center center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.8; /* Adjust overlay intensity */
    z-index: 2;
}
#contact > * {
    position: relative;
    z-index: 3;
}

.hero-gradient {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.process-step {
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.service-card {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: scale(0.95);
    }
    to {
    opacity: 1;
    transform: scale(1);
    }
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
}
#mobile-menu {
  background: rgba(10, 10, 15, 0.9); 
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  padding-top: 15px;
}
/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

/* Modal Container */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1000;
}

/* Modal Box */
.modal-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 90%;
  height: 75vh;
  overflow-y: scroll;
  max-width: 500px;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  transform: translateY(40px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(.17,.67,.43,1.3);
}

/* Active State */
.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal.active {
  pointer-events: auto;
}

.modal.active .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
input{
    background: transparent;
    color: white !important;
    resize: none;
}
input::placeholder{
    color: white !important;
}
/* Inputs */
.modal-box input,
.modal-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}
#submit {
    background: white;
    color: #667eea;
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
#submit:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}
.service-heading {
  margin: 20px 0 12px;
  color: #ffffff;
  font-weight: 600;
}

.service-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  color: #d1d5db;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #667eea;
  transition: all 0.25s ease;
  position: relative;
}

.custom-checkbox input:checked + .checkmark {
  background: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.custom-checkbox input:checked + .checkmark::after {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 4px;
  color: #ffffff;
  font-size: 14px;
}

@view-transition { navigation: auto; }
@media (max-width: 768px) {
    .input-group{
    width:100%;
    }
    #hero-headline{
        font-size: 2rem;
    }

  .funnel-wrapper {
    flex-direction: column;
    gap: 25px;
  }
  .funnel-step {
    font-size: 1rem;
  padding: 6px 15px;
  }

  .funnel-step:not(:last-child)::after {
    top: auto;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
  }

  .funnel-step:not(:last-child)::before {
    top: auto;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #667eea;
    border-bottom: none;
  }
}
@media (max-width: 450px) {
    .input-group{
        width:100%;
    }
    #hero-headline,#problem-headline,#solution-headline,#footer-cta-subheadline{
        font-size: 1.5rem;
    }
    #hero-description{
        font-size: 1rem;
    }
    .flex-result{
        display:grid;
        gap:20px;
        justify-content: stretch;
    }
    .result{
        font-size: 17px;
    }
    #nav-logo{
        width: 50%;
    }
}
