/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Ensure body has enough scrollable content */
body {
    background-color: #f4f4f4;
    margin: 0;
    padding-top: 70px; /* Prevents content from being hidden behind navbar */
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* Reduced height */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 15px; /* Less padding for a slimmer navbar */
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Search Bar Takes Full Width */
.search-container {
    display: flex;
    width: 80%; /* Search bar takes most of the width */
    max-width: 600px; /* Prevents it from becoming too wide */
}

#search-input {
    flex-grow: 1; /* Expands to take available space */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.search-btn {
    padding: 10px 15px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-btn:hover {
    background: #0056b3;
}

/* Hero Section */
.hero {
    height: 85vh; /* Adjusted for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #dde1e7, #c1c8d3);
    padding: 20px;
}

/* Hero Logo (Centered) */
.hero-logo {
    width: 120px; /* Adjust size */
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 28px; /* Increased padding */
    background: #007BFF;
    color: white;
    text-decoration: none;
    font-size: 1.1rem; /* Slightly larger */
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

/* AI Stack Section */
.ai-stack {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Even gap between boxes */
}

/* Boxy Stack Container - Responsive */
.stack-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures even spacing */
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px); /* Responsive width: 3 columns layout */
    max-width: 450px; /* Ensures it doesn't get too wide */
    min-width: 300px; /* Prevents it from being too small */
    height: auto; /* Auto height */
    text-align: left;
    font-size: 1rem;
    color: #333;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Hover Effect - Slight Lift */
.stack-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Title Inside the Box */
.stack-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #007BFF;
    text-align: center;
    margin-bottom: 10px;
}

/* Stack Section Headings */
.stack-heading {
    font-size: 1rem;
    font-weight: bold;
    color: #222;
    margin-top: 10px; /* Ensures space between sections */
}

/* AI Tools as Links (Subtle, No Text Decoration) */
.stack-box a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.stack-box a:hover {
    color: #007BFF;
}

/* Short Descriptions in Parentheses */
.sub-desc {
    font-size: 0.85rem;
    color: #777;
    margin-left: 5px;
}

/* Responsive Design - Adjusting for Smaller Screens */
@media screen and (max-width: 960px) {
    .stack-box {
        width: 90%; /* Full width for smaller screens */
        height: auto; /* Auto height */
    }
}

/* Responsive Design - Adjusting for Large Screens */
@media screen and (min-width: 1200px) {
    .stack-box {
        width: calc(25% - 20px); /* Makes it 4-column layout */
    }
}

/* Common Tag Style */
.stack-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Red - Paid */
.tag-paid {
    background: #dc3545;
}

/* Orange - Free (Limited) */
.tag-free-limited {
    background: #ff9800;
}

/* Green - Fully Free */
.tag-free {
    background: #28a745;
}

/* Blue - Best Recommendation */
.tag-best {
    background: #007BFF;
}
.search-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#search-input {
    width: 40%;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #007BFF;
    border-radius: 8px;
    outline: none;
}

.search-btn {
    padding: 10px 15px;
    font-size: 1rem;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
}

.search-btn:hover {
    background: #0056b3;
}
.search-container {
    margin-top: 20px; /* Adds space below the CTA */
}
.footer {
    text-align: center;
    padding: 15px;
    background: #f1f1f1;
    font-size: 1rem;
    color: #333;
    margin-top: 40px;
}
.footer a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}
.footer a:hover {
    color: #0056b3;
}
/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: #ddd;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.tab-btn.active {
    background: #007BFF;
    color: white;
}

/* Category Content - Initially Hidden */
.category-content {
    display: none;
    text-align: center;
    padding: 20px;
}

/* Show Default Active Content */
.category-content.active {
    display: block;
}
/* Copy Box Styling */
.copy-box {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    margin-top: 5px;
}

/* Ensures Text Stays Inside the Box and Allows Line Breaks */
.copy-box textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 8px;
    color: #333;
    outline: none;
    resize: none;  /* Prevents resizing */
    height: 100px;  /* Increased height for better readability */
    overflow-y: auto;  /* Enables scrolling if needed */
    white-space: pre-wrap; /* Ensures text wraps properly */
    word-wrap: break-word; /* Breaks long words */
}

/* Copy Button */
.copy-btn {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    display: block; /* Places it below the copy box */
    margin: 10px auto 0; /* Centers it and adds spacing */
    width: 100px; /* Fixed width for consistency */
    text-align: center;
}

.copy-btn:hover {
    background: #0056b3;
}



    .see-more {
        color: #007BFF;
        cursor: pointer;
        font-weight: bold;
        display: inline-block;
        margin-top: 5px;
    }
    .see-more:hover {
        text-decoration: underline;
    }
    .extra-tools {
        display: none;
    }



