:root {
    --primary: #962a35;
    --primary-light: #c04413;
    --secondary: #ff4632;
    --secondary-light: #000000;
    --accent: #ff4632;
    --dark: #000000;
    --light: #f8f9ff;
    --success: #00e676;
    --warning: #ff9100;
    --error: #ff1744;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --card-bg: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --webkit-appearance: none;
}
/* Landing Page Logo */
.landing-logo {
    width: 80px;  
    height: 80px; 
    margin-right: 20px;
    object-fit: contain;
}

/* Header Logo */
.logo-image {
    width: 80px;   /* Increased from 50px */
    height: 80px;  /* Increased from 50px */
    margin-right: 15px;
    object-fit: contain;
}

/* Landing Page Transition */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(15, 12, 41, 0.7);
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.landing-page.hidden {
    opacity: 0;
    visibility: hidden;
}
.landing-content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
    background: rgba(15, 12, 41, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 0.8s ease-out;
}

.landing-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}



.landing-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.landing-tagline {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.landing-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.landing-button {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.landing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.landing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.5);
}

.landing-button:hover::before {
    opacity: 1;
}

.landing-button:active {
    transform: translateY(1px);
}

/* Responsive adjustments for landing page */
@media (max-width: 768px) {
    .landing-content {
        padding: 30px;
    }
    
    .landing-logo {
        width: 60px;
        height: 60px;
    }
    
    .landing-logo-text {
        font-size: 2.5rem;
    }
    
    .landing-tagline {
        font-size: 1.5rem;
    }
    
    .landing-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .landing-content {
        padding: 25px 20px;
        width: 90%;
    }
    
    .landing-logo-container {
        flex-direction: column;
    }
    
    .landing-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .landing-logo-text {
        font-size: 2rem;
    }
    
    .landing-tagline {
        font-size: 1.3rem;
    }
    
    .landing-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Default padding for larger screens */
}

/* Floating Elements (Background Visuals) */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden; /* Ensure elements don't cause scroll */
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.element-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    top: 60%;
    left: 80%;
    animation-delay: 3s;
}

.element-3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    border-radius: 50%;
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
    }
    75% {
        transform: translate(50px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Header Section */
.header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
    margin-bottom: 40px;
    background: rgba(15, 12, 41, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-top: 30px;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(110,72,170,0.1) 0%, rgba(15,12,41,0) 70%);
    animation: pulse 15s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transition: var(--transition);
}

.logo:hover::after {
    transform: scaleX(1);
}

.tagline {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 500;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Form Section */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Custom Select Styling */
.custom-select {
    position: relative;
    width: 100%;
    /* Ensure the select itself has a background for options to be visible */
    background: rgba(255, 255, 255, 0.1); /* Slightly opaque background */
    border-radius: 10px; /* Match select border radius */
}

.custom-select select {
    width: 100%;
    padding: 15px;
    background: transparent; /* Make select background transparent to show parent */
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--light); /* Text color for selected option */
    transition: var(--transition);
    appearance: none; /* Hide default arrow */
    -webkit-appearance: none; /* Hide default arrow for Webkit browsers */
    -moz-appearance: none; /* Hide default arrow for Mozilla browsers */
    cursor: pointer;
    padding-right: 40px; /* Space for the custom arrow */
}

/* Ensure options are visible and styled */
.custom-select select option {
    background-color: var(--dark); /* Background for options */
    color: var(--light); /* Text color for options */
    padding: 10px; /* Add some padding to options */
}

.custom-select::after {
    content: '▼'; /* Custom arrow */
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 0.8rem;
    pointer-events: none; /* Make sure the arrow doesn't interfere with select clicks */
    transition: transform 0.3s ease; /* Smooth rotation */
}

/* Rotate arrow when select is open */
.custom-select select:focus + .custom-select::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.2);
}

/* Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0;
    width: 100%; /* Ensure full width */
}

/* Webkit (Chrome, Safari, Opera) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent); /* Changed to accent color */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    border: 2px solid var(--dark); /* Added border for better definition */
    margin-top: -7px; /* Center thumb vertically */
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--primary-light); /* Slightly change color on hover */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.7);
}

/* Mozilla (Firefox) */
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent); /* Changed to accent color */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    border: 2px solid var(--dark); /* Added border for better definition */
    /* margin-top is not directly supported for Firefox thumb, relies on track height */
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    background: var(--primary-light); /* Slightly change color on hover */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.7);
}

/* Microsoft Edge / IE */
input[type="range"]::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent); /* Changed to accent color */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    border: 2px solid var(--dark); /* Added border for better definition */
    /* margin-top is not directly supported for Edge thumb */
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

input[type="range"]::-ms-thumb:hover {
    background: var(--primary-light); /* Slightly change color on hover */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.7);
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent; /* Needs to be transparent for thumb to show through */
    border-color: transparent;
    color: transparent;
}


.budget-display {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    margin-top: 15px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Generate Button */
.generate-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    margin: 40px auto 20px;
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
    width: 100%; /* Ensure full width on small screens */
    max-width: 300px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.5);
}

.generate-btn:hover::before {
    opacity: 1;
}

.generate-btn:active {
    transform: translateY(1px);
}

/* Results Section */
.results {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.section h2 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* Idea Grid */
.idea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.idea-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.idea-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110,72,170,0.1) 0%, rgba(71,118,230,0.1) 100%);
    z-index: -1;
}

.idea-title {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.idea-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.idea-card:hover .idea-title::after {
    width: 100%;
}

.idea-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.idea-cost {
    color: var(--accent);
    font-weight: 600;
    margin-top: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.idea-cost::before {
    content: '💰';
    margin-right: 8px;
}

.idea-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.idea-link:hover {
    color: white;
    text-decoration: underline;
}

.idea-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.idea-link:hover::after {
    transform: translateX(3px);
}

/* New: Daily Dose of Love - Fact of the Day */
.daily-dose-of-love {
    margin: 60px 0;
    text-align: center;
}

.daily-dose-of-love h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.fact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.fact-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-small 5s infinite ease-in-out;
}

.fact-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-small 6s infinite reverse ease-in-out;
}

@keyframes pulse-small {
    0% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.2; }
}

.fact-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.fact-text {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
}

.fact-button {
    background: linear-gradient(45deg, var(--accent), var(--primary-light));
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for Daily Dose of Love */
@media (max-width: 768px) {
    .daily-dose-of-love h2 {
        font-size: 1.8rem;
    }
    .fact-card {
        padding: 30px;
        border-radius: 15px;
    }
    .fact-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    .fact-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .daily-dose-of-love h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    .fact-card {
        padding: 25px;
        border-radius: 10px;
    }
    .fact-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    .fact-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Testimonials Section */
.testimonials {
    margin: 60px 0;
}

.testimonials h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.author-info h4 {
    color: var(--light);
    margin-bottom: 5px;
    font-size: 1rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* About Section */
.about-section {
    margin: 60px 0;
    text-align: center;
}

.about-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 3px solid var(--accent);
    background-size: cover;
    background-position: center;
}

/* Free Ideas Section */
.free-ideas {
    margin: 60px 0;
}

.free-ideas h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.free-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.free-idea-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.free-idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.free-idea-title {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 15px;
    font-weight: 600;
}

.free-idea-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Product Section */
.product-section {
    background: linear-gradient(135deg, rgba(255,107,107,0.1) 0%, rgba(238,90,36,0.1) 100%);
    padding: 50px;
    border-radius: 20px;
    margin: 60px 0;
    border: 1px solid rgba(255, 107, 107, 0.2);
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.product-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.product-section p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
}

.product-image {
    height: 150px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.product-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.product-btn {
    background: white;
    color: #ff6b6b;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 180px;
    display: inline-block;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0 30px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    font-size: 0.95rem;
    background: rgba(15, 12, 41, 0.5);
    backdrop-filter: blur(10px);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

.legal-links {
    margin-top: 15px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 10px;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px; /* Reduced padding for very small screens */
    }

    .header {
        padding: 25px 0;
        margin-top: 15px;
        margin-bottom: 25px;
        border-radius: 10px; /* Slightly smaller border radius */
    }

    .logo {
        font-size: 2rem; /* Smaller logo for tight spaces */
        margin-bottom: 10px;
    }

    .tagline {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.85rem;
        padding: 0 10px; /* Ensure text fits within padding */
    }

    .form-container {
        padding: 20px; /* Smaller padding for forms */
        border-radius: 10px;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .custom-select select,
    input[type="range"] {
        padding: 12px; /* Smaller padding for inputs */
        font-size: 0.9rem;
    }

    .budget-display {
        font-size: 1.5rem; /* Smaller budget display */
    }

    .generate-btn {
        padding: 15px 25px;
        font-size: 1rem;
        max-width: 250px; /* Constrain button width */
        margin: 30px auto 15px;
    }

    .section {
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .section h2,
    .blog-section h2,
    .testimonials h2,
    .about-section h2,
    .free-ideas h2,
    .product-section h2 {
        font-size: 1.5rem; /* Smaller section headings */
        margin-bottom: 20px;
    }

    .idea-grid,
    .blog-grid,
    .testimonial-grid,
    .free-ideas-grid,
    .product-grid {
        grid-template-columns: 1fr; /* Single column layout for all grids */
        gap: 20px; /* Reduced gap */
    }

    .idea-card,
    .blog-card,
    .testimonial-card,
    .free-idea-card,
    .product-card {
        padding: 20px; /* Smaller card padding */
    }

    .idea-title, .blog-title, .free-idea-title, .product-card h3 {
        font-size: 1.1rem;
    }

    .idea-description, .blog-excerpt, .free-idea-description, .product-card p {
        font-size: 0.85rem;
    }

    .product-section {
        padding: 30px;
        border-radius: 15px;
        margin: 40px 0;
    }
    
    .product-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        max-width: 150px;
    }

    .footer {
        padding: 30px 0 20px;
        margin-top: 40px;
        font-size: 0.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px; /* Spacing between stacked links */
        margin-bottom: 15px;
    }

    .footer-link {
        margin: 0; /* Remove horizontal margin when stacked */
    }

    .legal-links {
        flex-direction: column;
        gap: 5px;
    }

    .legal-links a {
        margin: 0;
        font-size: 0.75rem;
    }
}

/* Small devices (portrait tablets and large phones, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 35px 0 25px;
        margin-top: 25px;
        margin-bottom: 35px;
    }

    .logo {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .form-container {
        padding: 30px;
    }

    .generate-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .section h2,
    .blog-section h2,
    .testimonials h2,
    .about-section h2,
    .free-ideas h2,
    .product-section h2 {
        font-size: 1.8rem;
    }

    /* Adjust grids for small tablets if they can fit 2 columns */
    .idea-grid,
    .blog-grid,
    .testimonial-grid,
    .free-ideas-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Medium devices (landscape tablets and small desktops, 769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .header {
        padding: 50px 0 35px;
    }

    .logo {
        font-size: 3.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }
}
/* Quiz Section Styles */
.quiz-section {
    margin: 60px 0;
}

.quiz-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.quiz-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.quiz-card {
    text-align: center;
}

.quiz-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.quiz-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(110, 72, 170, 0.4);
}

.quiz-progress {
    margin-bottom: 30px;
    position: relative;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.5s ease;
}
/* Blog Header */
.blog-header-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header-card h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.blog-header-card .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.header-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Editor Card */
.editor-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 40px;
}

.editor-title {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
}

.editor-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--accent);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 70, 50, 0.2);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--glass-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
}

.upload-area:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.upload-area p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.upload-area span {
    color: var(--accent);
    font-weight: 600;
}

.upload-area input[type="file"] {
    display: none;
}

/* Image Preview */
.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 70, 50, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Posts Container */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-header-card {
        padding: 30px;
    }
    
    .editor-card {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .blog-header-card {
        padding: 25px 20px;
    }
    
    .blog-header-card h1 {
        font-size: 2rem;
    }
    
    .editor-card {
        padding: 20px;
    }
    
    .upload-area {
        padding: 20px;
    }
}
#progressText {
    display: block;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.question-container {
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 25px;
    font-weight: 500;
}

.answer-option {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.15);
}

.answer-option.selected {
    background: rgba(110, 72, 170, 0.3);
    border: 1px solid var(--accent);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quiz-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-results {
    text-align: center;
    padding: 20px;
}

.quiz-score {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.quiz-message {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
}

.restart-quiz {
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.restart-quiz:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Blog Preview Styles */
.blog-preview {
    margin: 60px 0;
}

.blog-preview h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-width: 800px;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.read-more:hover {
    color: white;
    text-decoration: underline;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(3px);
}

.view-all-container {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quiz-container, .blog-card {
        padding: 30px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .blog-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .quiz-container, .blog-card {
        padding: 25px;
    }
    
    .quiz-section h2, .blog-preview h2 {
        font-size: 1.6rem;
    }
    
    .quiz-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .blog-card h3 {
        font-size: 1.2rem;
    }
}
/* Blog Page Styles */
.blog-header {
    text-align: center;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: white;
}

.nav-search {
    display: flex;
    gap: 10px;
}

.nav-search input {
    padding: 12px 15px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: white;
    min-width: 250px;
    font-family: 'Montserrat', sans-serif;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.nav-search button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.nav-search button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.blog-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .blog-main {
        grid-template-columns: 2fr 1fr;
    }
}

.featured-article {
    grid-column: 1 / -1;
}

.blog-article {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.blog-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.featured .article-image {
    height: 400px;
}

.article-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.article-meta .category {
    color: var(--accent);
    font-weight: 600;
}

.blog-article h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured h2 {
    font-size: 2rem;
}

.excerpt {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.read-more:hover {
    color: white;
    text-decoration: underline;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(3px);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    grid-column: 1 / -1;
}

.pagination-btn {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    color: rgba(255, 255, 255, 0.7);
}

.blog-sidebar {
    display: none;
}

@media (min-width: 992px) {
    .blog-sidebar {
        display: block;
    }
}

.sidebar-widget {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-family: 'Orbitron', sans-serif;
}

.categories ul {
    list-style: none;
}

.categories li {
    margin-bottom: 10px;
}

.categories a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categories a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.popular-post {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post a {
    text-decoration: none;
    transition: var(--transition);
}

.popular-post a:hover h4 {
    color: var(--accent);
}

.post-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.blog-footer {
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: 1 / -1;
}

.blog-footer .footer-links {
    justify-content: center;
    margin-bottom: 20px;
}
/* Image Upload Styles */
.image-upload-container {
    margin-bottom: 20px;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px dashed var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.upload-label:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.upload-label svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.file-input {
    display: none;
}

.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

#fileName {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}
/* style.css (or within <style> tags in blog.html) */

.post-text {
    white-space: pre-wrap; /* This will preserve whitespace and line breaks */
    word-wrap: break-word; /* To ensure long words don't overflow */
}
/* Large devices (desktops, 993px and up) - Current default styles mostly cover this */
/* @media (min-width: 993px) {
    .container {
        padding: 0 20px;
    }
} */