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

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #1e293b;
    padding: 20px 0;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: #38bdf8;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid #334155;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 8px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.search-box button {
    background: #38bdf8;
    border: none;
    padding: 0 20px;
    color: #0f172a;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #0ea5e9;
}

/* Stats Bar */
.stats-bar {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.stat-item i {
    font-size: 28px;
    color: #38bdf8;
}

.stat-item h3 {
    font-size: 16px;
    color: #f8fafc;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 13px;
    color: #94a3b8;
}

/* Filter Section */
.filter-section {
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

/* Tools Section */
.section-padding {
    padding: 50px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.tool-tag {
    display: inline-block;
    background: #0f172a;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    width: max-content;
    border: 1px solid #334155;
}

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tool-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-visit:hover {
    background: #0ea5e9;
    color: #fff;
}

/* Rich Footer Styling */
.footer-section {
    background: #1e293b;
    border-top: 1px solid #334155;
    padding-top: 50px;
    margin-top: 60px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #38bdf8;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #334155;
    font-size: 13px;
    color: #64748b;
}

/* Modal Popup Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #f8fafc;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}
/* Hero Section with Image Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 38px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile responsive ke liye */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .search-box {
        margin: 0 auto;
    }
}