* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a4b8c;
    --secondary-blue: #2a6eb0;
    --light-blue: #e6f0fa;
    --white: #ffffff;
    --off-white: #f8fafc;
    --dark: #2c3e50;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-blue);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    background: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    color: var(--dark);
}

.logo-text span {
    color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-blue);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    display: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--dark);
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .highlight {
    color: #ffd700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.search-box {
    background: var(--white);
    border-radius: 50px;
    padding: 0.3rem;
    display: flex;
    margin-bottom: 2rem;
}

.search-box form {
    display: flex;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
}

.search-box button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--secondary-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-header h2 span {
    color: var(--primary-blue);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.category-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.category-card span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Steps/How It Works */
.how-it-works {
    background: var(--white);
    padding: 4rem 0;
    margin: 3rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 2rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.step p {
    color: var(--gray);
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.views, .format {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.views {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.format {
    background: var(--light-gray);
    color: var(--dark);
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.project-card h3 a {
    color: var(--dark);
    text-decoration: none;
}

.project-card h3 a:hover {
    color: var(--primary-blue);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.project-meta i {
    margin-right: 0.3rem;
}

.abstract {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.btn-view {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.btn-view i {
    transition: transform 0.3s;
}

.btn-view:hover i {
    transform: translateX(5px);
}

/* Hire Writer Section */
.hire-writer {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 0;
}

.hire-writer-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hire-writer h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hire-writer p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hire-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: #ffd700;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-blue);
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    gap: 0.5rem;
    color: #a0aec0;
}

.contact-info i {
    color: var(--primary-blue);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .hire-features {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .search-box input {
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
    }
    
    .search-box button {
        border-radius: var(--border-radius);
        padding: 0.8rem;
    }
}