:root {
    --primary-color: #5D5FEF;
    --primary-hover: #4A4CC7;
    --secondary-color: #FFA07A;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #f8f9fa;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --footer-bg: #1a1a2e;
    --footer-text: #e1e1e1;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 70px;
}

/* Global styles */
.app-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 2rem 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}

.app-title {
    font-weight: 700;
    letter-spacing: -1px;
}

.app-subtitle {
    font-weight: 300;
    opacity: 0.9;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--light-text);
    font-weight: 600;
    border-bottom: none;
    padding: 1.5rem;
    font-size: 1.2rem;
}

.card .h4, .card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.faq-section .card-header, 
.card-header i {
    color: var(--light-text);
}

/* Navigation styles */
.navbar {
    transition: all 0.3s ease;
    padding: 0.7rem 1rem;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand i {
    font-size: 1.4rem;
}

/* Custom hamburger menu */
.navbar-toggler {
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-link {
    position: relative;
    margin: 0 0.2rem;
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--dark-text);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-link:not(.active):hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    transform: translateX(5px);
}

.dropdown-item.active {
    background-color: var(--primary-color);
}

@media (max-width: 991.98px) {
    body {
        padding-top: 60px;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin: 0.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-nav {
        margin-bottom: 1rem !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background-color: rgba(var(--bs-primary-rgb), 0.1);
        border-radius: 0.25rem;
    }
    
    .navbar .d-flex {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0;
    }
}

@keyframes navDropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu.fade-in {
    animation: navDropdownFadeIn 0.2s ease-out forwards;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(93, 95, 239, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(93, 95, 239, 0.35);
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    transform: translateY(-2px);
}

.form-control {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.2);
    border-color: var(--primary-color);
}

.type-selector {
    display: flex;
    margin: 1.5rem 0;
    gap: 15px;
    flex-wrap: wrap;
}

.type-option {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background-color: #fff;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.type-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(93, 95, 239, 0.15);
}

.type-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(93, 95, 239, 0.1);
    box-shadow: 0 4px 12px rgba(93, 95, 239, 0.2);
}

.type-option i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: block;
}

.type-option-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.type-option-desc {
    font-size: 0.85rem;
    color: #6c757d;
}

.file-upload-container {
    position: relative;
    margin: 1.5rem 0;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    background-color: rgba(248, 249, 250, 0.7);
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background-color: rgba(93, 95, 239, 0.05);
}

.file-upload-container i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.file-upload-text {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.file-upload-subtext {
    font-size: 0.85rem;
    color: #6c757d;
}

.file-input-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

/* Ad Container Styling */
.ad-container {
    margin: 1.5rem auto;
    padding: 1rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    clear: both;
    max-width: 100%;
}

.ad-container.bg-light {
    background-color: #f8f9fa;
    margin-bottom: 0;
}

.ad-container:before {
    content: 'Advertisement';
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.app-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Accordion styling improvements */
.accordion-button:not(.collapsed) {
    background-color: rgba(93, 95, 239, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(93, 95, 239, 0.15);
    border-color: var(--primary-color);
}

.accordion-item {
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.accordion-header {
    margin: 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step badges */
.badge.bg-primary, .badge.bg-success {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .container {
        max-width: 95%;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .type-selector {
        flex-direction: column;
        gap: 12px;
    }
    
    .app-header {
        padding: 1.5rem 0;
        border-radius: 0 0 15px 15px;
    }
    
    .ad-container {
        margin: 1rem 0;
        padding: 0.75rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
    
    .card-header {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .card .h4, .card h4 {
        font-size: 1.3rem;
    }
    
    .step {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .app-header {
        border-radius: 0 0 10px 10px;
        padding: 1.25rem 0;
    }
    
    .card {
        border-radius: 15px;
    }
}

/* ====== New and Modern Homepage Styles ====== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #7b68ee, var(--secondary-color));
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 3rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #fff;
    top: -50px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #fff;
    top: 50%;
    right: -50px;
    animation: float 12s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #fff;
    bottom: -50px;
    left: 50%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Button Styles */
.btn-glass {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.btn-glass:hover:not(.disabled) {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    font-weight: 600;
}

.btn-light:hover {
    background-color: #f0f0f0;
    color: var(--primary-hover);
    border-color: #f0f0f0;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    box-shadow: none;
}

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

/* Section Styling */
.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background-color: rgba(93, 95, 239, 0.1);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
    display: flex;
    padding: 2rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.active:before,
.feature-card:hover:before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-card-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card-content {
    flex: 1;
}

.feature-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card-description {
    color: #6c757d;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.feature-card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.feature-card-link.disabled {
    color: #adb5bd;
    cursor: default;
}

.feature-card.disabled {
    opacity: 0.8;
    cursor: default;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: -60px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 60px;
    transform: rotate(45deg);
    text-transform: uppercase;
    z-index: 1;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    width: 200px;
    text-align: center;
}

/* Value Cards */
.value-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-card-icon i {
    font-size: 2rem;
    color: white;
}

.value-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-section {
    padding-bottom: 1rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1.25rem;
}

.testimonial-stars i {
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Accordion Custom Style */
.custom-accordion {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 500;
    padding: 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(93, 95, 239, 0.05);
}

.accordion-button:not(.collapsed)::after {
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(93, 95, 239, 0.1);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-item:last-of-type {
    border-bottom: none;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 5rem 0 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Premium Ad Container */
.ad-container.premium-ad {
    border-radius: 15px;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Modern Footer */
.modern-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 4rem;
    position: relative;
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
}

.footer-description {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0.5rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a.disabled {
    opacity: 0.6;
    cursor: default;
}

.footer-links a:before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-8px);
}

.footer-links a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.footer-support-text {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.copyright {
    opacity: 0.7;
}

.footer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-credit a:hover {
    color: white;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
    
    .footer-top {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Page Header for Secondary Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #7b68ee, var(--secondary-color));
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 4rem 0;
    border-radius: 0 0 30px 30px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Card for Policy Pages */
.content-card {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.last-updated {
    color: #6c757d;
}

/* Policy Page Styling */
.policy-section, .terms-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child, .terms-section:last-child {
    margin-bottom: 0;
}

.policy-section .section-title, .terms-section .section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.policy-section .subsection-title, .terms-section .subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333;
}

.policy-section p, .terms-section p, .policy-section li, .terms-section li {
    color: #4a4a4a;
    line-height: 1.7;
}

.policy-section ul, .terms-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-section ul li, .terms-section ul li {
    margin-bottom: 0.5rem;
}

/* FAQ Page Styling */
.category-tabs {
    margin-bottom: 2rem;
}

.nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem 0.5rem 0;
    color: #4a4a4a;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.nav-pills .nav-link:hover {
    background-color: rgba(93, 95, 239, 0.1);
    color: var(--primary-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.still-questions-section {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

/* Contact Page Styling */
.contact-info-card, .contact-form-card {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-method {
    display: flex;
    margin-bottom: 2rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-contact:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.faq-item {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-answer {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-faq {
    border-top: 1px solid #e9ecef;
}

/* Responsive Adjustments for pages */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.4rem;
    }
    
    .content-card, .contact-info-card, .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-pills .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .policy-section .section-title, .terms-section .section-title {
        font-size: 1.6rem;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 2.5rem 0;
        border-radius: 0 0 20px 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .content-card, .contact-info-card, .contact-form-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .policy-section .section-title, .terms-section .section-title {
        font-size: 1.4rem;
    }
    
    .policy-section .subsection-title, .terms-section .subsection-title {
        font-size: 1.2rem;
    }
}

/* Custom Size Options */
#custom-size-options {
    background: var(--bs-light);
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

#custom-size-options .input-group {
    max-width: 100%;
}

/* Quality Selector */
.quality-selector {
    margin-top: 1rem;
}

.quality-selector .btn-group {
    display: flex;
    gap: 0.5rem;
}

.quality-selector .btn {
    flex: 1;
    padding: 1rem 0.5rem;
    text-align: center;
    border-radius: 0.5rem !important;
}

.quality-selector .btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.quality-selector .btn-check:checked + .btn {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.quality-selector .btn-check:checked + .btn small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quality-selector .btn-group {
        flex-direction: column;
    }
    
    .quality-selector .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    
    #custom-size-options .row > div {
        margin-bottom: 1rem;
    }
}

/* Responsive unit selector */
.unit-selector {
    width: 100%;
}

.unit-selector .btn {
    padding: 8px 12px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .unit-selector .btn {
        font-size: 0.85rem;
        padding: 5px 8px;
        min-width: 30px;
    }
    
    #custom-size-options {
        padding: 1rem;
    }
    
    #custom-size-options .form-label {
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }
    
    .input-group-text {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    #custom-size-options .input-group {
        margin-bottom: 0.75rem;
    }
    
    #custom-size-options .form-control {
        font-size: 0.9rem;
        padding: 6px 8px;
    }
    
    #custom-size-options .form-check {
        margin-top: 0.5rem;
    }
}

/* Responsive unit selector - mobile only adjustments */
@media (max-width: 576px) {
    /* Compact unit buttons on small screens */
    .unit-selector .btn {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    /* Ensure width/height are properly sized on mobile */
    #custom-size-options .input-group-text {
        font-size: 0.85rem;
        padding: 6px;
    }
    
    #custom-size-options .input-group .form-control {
        font-size: 0.9rem;
        padding: 8px 6px;
    }
    
    /* Add spacing between stacked elements on very small screens */
    @media (max-width: 400px) {
        #custom-size-options .col-6 {
            width: 100%;
            margin-bottom: 0.5rem;
        }
    }
}