/* Base Styles */
html {
    font-size: 16px;
}

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background: #f8f9fa;
    min-height: 100vh;
}

main { 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 20px;
    width: 95%;
}
.hero {
    background: linear-gradient(120deg, #007bff 60%, #6f42c1 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.hero img { border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,0.12); margin-bottom: 1rem; }
.cta-btn {
    display: inline-block;
    background: #ffc107;
    color: #212529;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-btn:hover {
    background: #fd7e14;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: scale(1.04);
}
.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.5rem;
}
.nav-link.active, .nav-link:focus, .nav-link:hover {
    color: #ffc107 !important;
}
.card, .shadow, .card-body {
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .shadow:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13) !important;
    transform: translateY(-2px) scale(1.01);
}
.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.2rem rgba(111,66,193,.15);
}
/* Scroll-to-top button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, box-shadow 0.2s;
}
#scrollTopBtn:hover {
    background: #6f42c1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
} 

/* Billing Page Modern Styles */
.billing-container {
    max-width: 480px;
    width: 95%;
    margin: 60px auto 40px auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) both;
}
.billing-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6f42c1;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
}
.billing-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.form-group label {
    font-weight: 500;
    color: #343a40;
    width: 100%;
    font-size: 1.05rem;
}
.billing-form input[type="text"],
.billing-form input[type="email"],
.billing-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 6px;
    background: #f8f9fa;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 4px rgba(111,66,193,0.03);
    resize: none;
}
.billing-form input[type="text"]:focus,
.billing-form input[type="email"]:focus,
.billing-form textarea:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 2px rgba(111,66,193,0.10);
    background: #fff;
}
.billing-form textarea {
    min-height: 70px;
    max-height: 180px;
}
.billing-cta {
    width: 100%;
    margin-top: 1.2rem;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #6f42c1 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 12px rgba(111,66,193,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.billing-cta:hover {
    background: linear-gradient(90deg, #007bff 0%, #6f42c1 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(111,66,193,0.16);
}

/* Fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) both;
} 

/* Billing Summary Row Layout - Single Summary Only */
.billing-summary-row-bg {
  min-height: 100vh;
  background: linear-gradient(120deg, #f3e9ff 0%, #e0f7fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.billing-summary-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 950px;
  margin: 2rem auto;
}
.billing-form-panel {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px rgba(111,66,193,0.13), 0 1.5px 8px rgba(0,0,0,0.04);
  padding: 2.2rem 2rem 2rem 2rem;
  flex: 2 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.summary-card.single-summary {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(111,66,193,0.10);
  padding: 1.5rem 1.2rem;
  min-width: 240px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: stretch;
}
.summary-card.single-summary h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 1.1rem;
  text-align: center;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  color: #343a40;
}
.cashfree-btn {
  width: 100%;
  margin-top: 1.2rem;
  background: linear-gradient(90deg, #00b386 0%, #007bff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(0,179,134,0.10);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cashfree-btn:hover {
  background: linear-gradient(90deg, #007bff 0%, #00b386 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0,179,134,0.16);
}/* Responsive Design */
@media (max-width: 1200px) {
    main {
        margin: 30px auto;
    }
}

@media (max-width: 992px) {
    .billing-summary-row {
        flex-direction: column;
        gap: 2rem;
        margin: 1.5rem auto;
    }
    
    .summary-card.single-summary {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    main {
        margin: 20px auto;
        padding: 15px;
    }
    
    .hero {
        padding: 2rem 1.5rem;
    }
    
    .billing-title {
        font-size: 1.8rem;
    }
    
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .cta-btn {
        padding: 10px 24px;
        font-size: 1.1rem;
    }
    
    .billing-form input[type="text"],
    .billing-form input[type="email"],
    .billing-form textarea {
        padding: 10px 12px;
    }
    
    .billing-cta {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 11px;
    }
    
    main {
        padding: 10px;
    }
    
    .billing-container {
        padding: 1.2rem 1rem;
    }
}

.form-row {
  display: flex;
  gap: 1.2rem;
  width: 100%;
}
@media (max-width: 600px) {
  .billing-form-panel, .summary-card.single-summary {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    border-radius: 1rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0.7rem;
  }
} 

@media (min-width: 901px) {
  .billing-summary-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 2.5rem !important;
  }
  .billing-form-panel {
    flex: 2 1 0 !important;
    min-width: 0 !important;
  }
  .summary-card.single-summary {
    flex: 1 1 0 !important;
    margin-top: 0 !important;
    max-width: 320px !important;
    min-width: 240px !important;
    align-self: flex-start !important;
  }
} 

.billing-summary-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 901px) {
  .billing-summary-row {
    flex-direction: row !important;
    gap: 2.5rem !important;
  }
  .billing-form-panel {
    flex: 2 1 0 !important;
  }
  .summary-card.single-summary {
    flex: 1 1 0 !important;
    max-width: 320px !important;
    min-width: 240px !important;
    align-self: flex-start !important;
  }
}
