/* --- Homepage Hero Section --- */
#hero-section {
    position: relative;
    padding: 4rem 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(23, 37, 84, 0.7);
    /* A dark blue overlay */
    z-index: 1;
}

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


/* --- Base Styles --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* --- Dropdown Menu Styles (from before) --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 50;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 10px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content.show {
    display: block;
}

/* --- Mobile Menu Styles (from before) --- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

#hamburger.is-active .line1 {
    transform: translateY(8px) rotate(45deg);
}

#hamburger.is-active .line2 {
    opacity: 0;
}

#hamburger.is-active .line3 {
    transform: translateY(-8px) rotate(-45deg);
}

.line {
    transition: all 0.3s ease-in-out;
}

/* --- Homepage Category Card Styles --- */
.category-card {
    display: block;
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.card-desc {
    color: #6b7280;
}

/* --- Homepage How-to Steps Section --- */
.step-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.step-icon-1 {
    background-color: #e0f2fe;
    color: #0ea5e9;
}

.step-icon-2 {
    background-color: #dcfce7;
    color: #22c55e;
}

.step-icon-3 {
    background-color: #fef3c7;
    color: #f59e0b;
}

/* --- Homepage Screenshots Section --- */
.screenshot-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.screenshot-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
}

.screenshot-caption {
    padding: 1rem;
    text-align: center;
    font-style: italic;
    color: #4b5563;
}

/* --- Homepage Score Card Styles --- */
.score-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.score-avatar {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.avatar-1 {
    background-color: #7c3aed;
}

/* Violet */
.avatar-2 {
    background-color: #db2777;
}

/* Pink */
.avatar-3 {
    background-color: #ea580c;
}

/* Orange */
.avatar-4 {
    background-color: #16a34a;
}

/* Green */
.avatar-5 {
    background-color: #2563eb;
}

/* Blue */

.score-info {
    flex-grow: 1;
}

.score-name {
    font-weight: 600;
    color: #1f2937;
}

.score-test {
    font-size: 0.875rem;
    color: #6b7280;
}

.score-stats {
    text-align: right;
}

.score-wpm {
    display: block;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f2937;
}

.score-accuracy {
    display: block;
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 500;
}

/* --- Homepage FAQ Section Styles (from before) --- */
.faq-entry {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #4b5563;
    line-height: 1.6;
}



/* Add these styles to your existing css/style.css file */

/* General About Us Section Styling */
.about-section {
    padding: 4rem 0;
    /* Add some vertical padding */
    text-align: center;
}

.about-section h2 {
    color: #2c3e50;
    /* Darker text for headings, matching your site's feel */
    margin-bottom: 1.5rem;
    /* Space below headings */
}

.about-section p {
    color: #57606f;
    /* Slightly lighter text for paragraphs */
    line-height: 1.75;
    /* Improved readability */
}

/* Image container for screenshots in About Us */
.image-container {
    margin: 2rem auto;
    /* Center the image and add vertical spacing */
    max-width: 700px;
    /* Limit image width */
    border-radius: 0.75rem;
    /* Rounded corners */
    overflow: hidden;
    /* Ensure image corners are rounded */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.image-container img {
    width: 100%;
    /* Make image responsive */
    height: auto;
    display: block;
    /* Remove extra space below image */
}

/* Stats Grid for Impact Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    gap: 1.5rem;
    /* Space between grid items */
    margin-top: 2rem;
    /* Space above the grid */
}

.stat-card {
    background-color: #ffffff;
    /* White background for cards */
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Subtle shadow */
    text-align: center;
}

.stat-card h3 {
    font-size: 2.25rem;
    /* Large text for numbers */
    font-weight: 700;
    color: #3498db;
    /* Blue color for numbers, matching your current blue accents */
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    color: #57606f;
}

/* Horizontal rule for section separation */
hr.my-12 {
    border-top-width: 1px;
    border-color: #d1d5db;
    /* Light gray border */
}

/* Adjustments for list items within sections */
.about-section ul {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-section ul li {
    margin-bottom: 0.5rem;
}


/* Add these styles to your existing css/style.css file */

/* General Contact Section Styling - similar to About Us */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-section p {
    color: #57606f;
    line-height: 1.75;
}

/* Image container for hero image */
.image-container {
    margin: 2rem auto;
    max-width: 700px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Form Specific Styling */
.contact-form {
    background-color: #ffffff;
    /* White background for the form */
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 600px;
    /* Max width for the form container */
    margin: 0 auto;
    /* Center the form on the page */
    text-align: left;
    /* Ensure form elements align left */
}

.contact-form label {
    display: block;
    /* Make labels appear on their own line */
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    /* Full width inputs */
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    /* Space between inputs */
    border: 1px solid #d1d5db;
    /* Light gray border */
    border-radius: 0.5rem;
    background-color: #f9fafb;
    /* Light background for inputs */
    color: #374151;
    /* Dark text for input content */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Subtle inner shadow */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    /* Smooth transition on focus */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    /* Blue border on focus */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
    /* Blue ring on focus */
}

.contact-form textarea {
    min-height: 120px;
    /* Minimum height for textarea */
    resize: vertical;
    /* Allow vertical resizing only */
}

.contact-form button {
    background-color: #3498db;
    /* Primary blue button */
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    /* Allow button to size to content */
    display: inline-block;
    /* For centering via text-align on parent or margin auto */
}

.contact-form button:hover {
    background-color: #2980b9;
    /* Darker blue on hover */
}

/* Contact Info Cards Styling */
.contact-info-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.contact-info-card i {
    font-size: 2rem;
    /* Larger icons for visual appeal */
    color: #3498db;
    /* Blue color for icons */
    margin-bottom: 0.75rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #57606f;
}

.social-links a {
    color: #3498db;
    /* Blue for social icons */
    font-size: 1.75rem;
    /* Larger icons */
    margin: 0 0.75rem;
    /* Spacing between icons */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
    /* Darker blue on hover */
}

/* Horizontal rule for section separation */
hr.my-12 {
    border-top-width: 1px;
    border-color: #d1d5db;
    /* Light gray border */
}


/* Add these styles to your existing css/style.css file */

/* General Privacy Section Styling */
.privacy-section {
    padding: 2rem 0;
    /* Slightly less vertical padding for policy content */
    text-align: left;
    /* Essential for readability of policy text */
}

.privacy-section h1 {
    text-align: center;
    /* Center the main title */
    margin-bottom: 2rem;
    color: #2c3e50;
}

.privacy-section h2 {
    color: #2c3e50;
    margin-top: 2.5rem;
    /* More space above major policy sections */
    margin-bottom: 1rem;
    font-size: 2.25rem;
    /* Larger sub-headings for sections */
    text-align: center;
    /* Center these sub-headings */
}

.privacy-section h3 {
    color: #34495e;
    /* Slightly lighter heading color */
    margin-top: 1.5rem;
    /* Space above sub-sub-headings */
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    /* For points like "Non-Personal Data" */
}

.privacy-section p {
    color: #57606f;
    line-height: 1.75;
    /* Good line height for readability */
    margin-bottom: 1rem;
    /* Space between paragraphs */
}

.privacy-section ul {
    list-style: disc;
    /* Standard bullet points */
    padding-left: 1.5rem;
    /* Indent lists */
    margin-bottom: 1rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
    color: #57606f;
    line-height: 1.6;
}

.privacy-section a {
    color: #3498db;
    /* Blue color for links */
    text-decoration: underline;
    /* Underline links */
}

.privacy-section a:hover {
    color: #2980b9;
    /* Darker blue on hover */
}

/* Horizontal rule for section separation */
hr.my-12 {
    border-top-width: 1px;
    border-color: #d1d5db;
}

/* Add these styles to your existing css/style.css file */

/* General Disclaimer Section Styling */
.disclaimer-section {
    padding: 2rem 0;
    /* Slightly less vertical padding for policy content */
    text-align: left;
    /* Essential for readability of policy text */
}

.disclaimer-section h1 {
    text-align: center;
    /* Center the main title */
    margin-bottom: 2rem;
    color: #2c3e50;
}

.disclaimer-section h2 {
    color: #2c3e50;
    margin-top: 2.5rem;
    /* More space above major policy sections */
    margin-bottom: 1rem;
    font-size: 2.25rem;
    /* Larger sub-headings for sections */
    text-align: center;
    /* Center these sub-headings */
}

.disclaimer-section h3 {
    color: #34495e;
    /* Slightly lighter heading color */
    margin-top: 1.5rem;
    /* Space above sub-sub-headings */
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    /* For points like "Non-Personal Data" */
}

.disclaimer-section p {
    color: #57606f;
    line-height: 1.75;
    /* Good line height for readability */
    margin-bottom: 1rem;
    /* Space between paragraphs */
}

.disclaimer-section ul {
    list-style: disc;
    /* Standard bullet points */
    padding-left: 1.5rem;
    /* Indent lists */
    margin-bottom: 1rem;
}

.disclaimer-section ul li {
    margin-bottom: 0.5rem;
    color: #57606f;
    line-height: 1.6;
}

.disclaimer-section a {
    color: #3498db;
    /* Blue color for links */
    text-decoration: underline;
    /* Underline links */
}

.disclaimer-section a:hover {
    color: #2980b9;
    /* Darker blue on hover */
}

/* Horizontal rule for section separation */
hr.my-12 {
    border-top-width: 1px;
    border-color: #d1d5db;
}