@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --text: #2c3e50;
    --light: #f9f9f9;
    --border: #e0e0e0;
    --white: #eee;
    --black: #141414;
    --color: #db1200;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.subtitle {
    font-size: 1.2rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto;
}

.packages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.package {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
    position: relative;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    font-size: 0.8rem;
    transform: rotate(45deg) translate(25%, -50%);
    transform-origin: center;
}

.package-header {
    padding: 1.5rem;
    text-align: center;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.package-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.package-price span {
    font-size: 1rem;
    font-weight: normal;
}

.package-features {
    padding: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li:before {
    content: '✓';
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: bold;
}

.package-cta {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

/* .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
} */

.custom-builder {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.builder-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: white;
}

.price-display {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
    border: 1px dashed var(--border);
}

.price-display h3 {
    margin-bottom: 1rem;
}

.final-price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* .btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: #fb4d39;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
} */

.pricing-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    position: relative;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    padding-bottom: 60px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e7000086;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured:before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-duration {
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 40px;
    padding-right: 33px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 8px;
}

.btn-wrapper{
    padding: 10px;
    position: absolute;
    bottom: 30px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

#package-btn{
    border-radius: 80px;
    padding: 10px;
    position: absolute;
    bottom: 30px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e74c3c;
    color: #f8f8f8;
    transition: all 0.3s ease-out;
}

#package-btn:hover{
    background-color: #e8301c;
    box-shadow: 0px 0px 25px rgb(235, 142, 142);
}

.btn-wrapper{
    text-decoration: none;
    position: absolute;
    bottom: 30px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

.link {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color);
  text-decoration: none;
  position: relative;
}
.btn-wrapper:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.link:focus,
.link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}


.link span,
.link i {
  position: relative;
}
.link:hover span,
.link:hover i {
  color: var(--color);
  transition: color 0.3s ease;
}
.link i {
  margin-left: 0.5em;
}
.link .color {
  width: 2em;
  height: 2em;
  border-radius: 2em;
  background-color: rgb(255, 218, 218);
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  left: -0.65em;
}


@media (max-width: 768px) {
    .packages {
        flex-direction: column;
        align-items: center;
    }
    
    .package {
        width: 100%;
        max-width: 350px;
    }
}

/* Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
    
.custom-modal.active {
    opacity: 1;
    visibility: visible;
}
    
.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
    
    .custom-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}
    
.modal-header {
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    position: relative;
}
    
.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
    
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
    
.close-modal:hover {
    transform: rotate(90deg);
}
    
.modal-body {
    padding: 1.5rem;
}
    
.form-group {
    margin-bottom: 1.5rem;
}
    
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}
    
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
    
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}
    
.input-group {
    display: flex;
    gap: 0.5rem;
}
    
.input-group .form-control {
    flex: 1;
}
    
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
    
.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text);
}
    
.btn-secondary:hover {
    background-color: #e0e0e0;
}
    
.btn-primary {
    background-color: var(--primary);
    color: white;
}
    
.btn-primary:hover {
    background-color: var(--primary-dark);
}
    
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
    
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
    
.verification-status {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}
    
.verification-status.show {
    opacity: 1;
    transform: translateY(0);
}
    
.verification-status.success {
    color: #27ae60;
}
    
.verification-status i {
    margin-right: 0.5rem;
}
    
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
    
.form-check-input {
    margin-right: 0.5rem;
}
    
.modal-footer {
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
    
/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}
    
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Link animation styles */
.link {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color);
    text-decoration: none;
    position: relative;
}

.link:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.link span,
    .link i {
    position: relative;
}

.link:hover span,
.link:hover i {
    color: var(--color);
    transition: color 0.3s ease;
}

.link i {
    margin-left: 0.5em;
}

.color {
    width: 2em;
    height: 2em;
    border-radius: 2em;
    background-color: rgb(255, 218, 218);
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    left: -0.65em;
    z-index: -1;
}

/* Pricing card styles */
.pricing-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-header p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    position: relative;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    padding-bottom: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e7000086;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-duration {
    color: #777;
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 40px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 8px;
}

.btn-wrapper {
    padding: 10px;
    position: absolute;
    bottom: 30px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.loading-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.resend-otp {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.resend-otp a {
    color: var(--primary);
    text-decoration: none;
}

.resend-otp a:hover {
    text-decoration: underline;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.otp-input.filled {
    border-color: var(--primary);
    animation: pulse 0.5s ease;
}

.otp-input.error {
    border-color: #ff3860;
    animation: shake 0.5s ease;
}

.otp-input.success {
    border-color: #23d160;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.otp-status {
    text-align: center;
    margin-top: 10px;
    height: 20px;
    font-size: 14px;
}

.otp-status .success {
    color: #23d160;
}

.otp-status .error {
    color: #ff3860;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.verified-field {
    background-color: #f0fff0;
    border-color: #23d160 !important;
}

.verified-field:disabled {
    opacity: 1;
    color: #2c3e50;
}

.verified-btn {
    background-color: #23d160 !important;
    color: white !important;
    pointer-events: none;
}