/* === 1. Your New Theme Colors & Fonts === */
 :root {
    --brand-font: "Heritho", sans-serif; /* You must host this font */
    --default-font: "Exo 2", sans-serif;
    --heading-font: "Orbitron", sans-serif;
    
    --background-color: #030414;
    --default-color: #c4c4c4;
    --heading-color: #ffffff;
    --accent-color: #00aaff;
    --accent-color-glow: rgba(0, 170, 255, 0.5);
    --secondary-accent: #f72585;
    --surface-color: rgba(10, 10, 30, 0.5); /* We'll use this for borders */
    
    /* This is the solid card background from your testimonial image */
    --card-background-solid: #1A1D2D; 
    
    --contrast-color: #ffffff;
    --nav-color: #ffffff;
    --nav-hover-bg: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    --nav-mobile-background-color: #05061a;
    scroll-behavior: smooth;
}

[data-theme="light"] {
    --background-color: #f4f7f9;
    --default-color: #444444;
    --heading-color: #0a2540;
    --surface-color: rgba(255, 255, 255, 0.6);
    --card-background-solid: #ffffff; /* Solid white for light mode */
    --contrast-color: #0a2540;
    --nav-color: #0a2540;
    --nav-mobile-background-color: #ffffff;
}




/* === 3. Homepage Packages Section (Styles all packages) === */

.business-package-section {
    width: 100%;
    padding: 80px 0;
    background-color: transparent; /* Uses the body background */
}

/* 2. Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.section-title p {
    font-family: var(--default-font);
    font-size: 1.1rem;
    color: var(--default-color);
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Package Grid & Card Styles */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 30px;
    justify-content: center;
    align-items: start;
}

.popular-wrapper {
    position: relative;
    padding-top: 25px;
}

/* NEW ANIMATION: Pulse for the banner */
@keyframes pulse-banner {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.popular-banner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-accent);
    color: var(--heading-color);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 3;
    white-space: nowrap;
    animation: pulse-banner 2s infinite ease-in-out;
}

.package-card {
    /* DESIGN UPDATE: Using solid background from your testimonial card */
    background: var(--card-background-solid);
    
    /* DESIGN UPDATE: Using the glowing border from your testimonial card */
    border: 1px solid var(--accent-color-glow); 
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative; /* Needed for shine effect */
    overflow: hidden; /* Needed for shine effect */
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* NEW ANIMATION: Shine/Gloss effect on hover */
.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.package-card:hover::before {
    left: 120%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* NEW ANIMATION: Floating popular card */
@keyframes float-popular {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.popular-wrapper .package-card {
    /* Popular card uses secondary accent for its border & glow */
    border: 2px solid var(--secondary-accent);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.5);
    /* Apply the float animation */
    animation: float-popular 3s ease-in-out infinite;
}

.popular-wrapper .package-card:hover {
    /* Make hover stronger for popular card */
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 0 30px rgba(247, 37, 133,.7);
}


.card-header {
    padding-top: 0;
}

.card-header h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.card-header .price {
    margin-bottom: 15px;
}

.card-header .price .old-price {
    font-size: 1.2rem;
    color: var(--default-color); 
    text-decoration: line-through;
    margin-right: 10px;
    opacity: 0.7;
}

.card-header .price .new-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color); /* Use accent blue */
}

/* This is for the packages with only one price */
.card-header .price .price-simple {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.card-header .ideal-for {
    font-size: 1rem;
    color: var(--default-color); 
    font-style: italic;
    margin-bottom: 25px;
    border-bottom: 1px dashed var(--accent-color-glow); /* Use glow color */
    padding-bottom: 20px;
}

.card-body {
    flex-grow: 1; 
}

.card-body .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.card-body .features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--default-color); 
}

.card-body .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color); /* Use accent blue for checkmark */
    font-weight: 700;
}

.card-footer {
    margin-top: auto;
}

.cta-button {
    display: block;
    width: 100%;
    background: var(--accent-color);
    color: var(--heading-color);
    text-align: center;
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--heading-font); /* Use heading font for button */
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--accent-color-glow); /* Add glow on hover */
}


/* 4. "Expand Button" Styles */

.expand-button-container {
    text-align: center;
    margin-top: 60px;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    display: inline-block;
    width: auto;
    padding: 12px 30px;
}

.cta-button.outline:hover {
    background: var(--accent-color);
    color: var(--heading-color);
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--accent-color-glow);
}

/* 5. Responsive Styles */
@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 3fr;
    }
    
    /* Stop the float animation on mobile for better performance */
    .popular-wrapper .package-card {
        animation: none;
    }
}

/* --- Add-On Checkbox Styling --- */
.addon-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}
.addon-item label {
    font-size: 0.95rem;
    color: var(--default-color);
    padding-left: 35px; /* Space for custom checkbox */
    cursor: pointer;
    line-height: 1.4;
}
.addon-item label .addon-price {
    color: var(--secondary-accent);
    font-weight: 600;
    margin-left: 5px;
}
.addon-item input[type="checkbox"] {
    opacity: 0; /* Hide default box */
    position: absolute;
    width: 0;
    height: 0;
}
/* Custom checkbox box */
.addon-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--surface-color);
    transition: all 0.2s ease;
}
/* Custom checkmark (tick) */
.addon-item label::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 2px;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}
/* Show tick when checked */
.addon-item input[type="checkbox"]:checked + label::before {
    border-color: var(--accent-color);
}
.addon-item input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
}