/* Global Styles */
:root {
    --primary-color: #4a6bd8;
    --secondary-color: #364fc7;
    --accent-color: #f5a623;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 5px;
    padding: 3px;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 80px; /* adjust as needed */
    height: 80px; /* keep it same as width for perfect circle */
    border-radius: 50%; /* makes the image round */
    object-fit: cover;
    margin-right: 15px; /* spacing between image and text */
}

.logo h1 {
    font-size: 24px;
    color: #4a63d8; /* match your brand color */
}



nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--primary-color);
    color: white;
}

#login-btn a {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: white;
}

.categories h2, 
.featured-projects h2,
.how-it-works h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.category-card p {
    color: var(--gray-color);
}
.category-card {
    position: relative;
    height: 200px;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.03);
}


.category-card .category-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.categories {
    padding: 40px 20px;
    text-align: center;
}

.categories h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
    font-weight: bold;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-card {
    width: 250px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    background-repeat: no-repeat;
}

.category-card:hover {
    transform: scale(1.05);
}


.category-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #3f51b5;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 4px 0;
}

.category-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
}



/* Featured Projects */
.featured-projects {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.view-more {
    text-align: center;
}

.view-more .btn {
    background-color: var(--primary-color);
    color: white;
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step p {
    color: var(--gray-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo, .search-bar, nav {
        margin-bottom: 15px;
        width: 100%;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps {
        flex-direction: column;
    }
}