/* Modern color scheme */
:root {
    --primary-color: #3498db;  /* Matching your current navbar color */
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --hover-color: #7f8c8d;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
}

/* Keep your existing body styles but enhance them */
body {
    color: var(--text-color);
    background: linear-gradient(135deg, #c8ecf0 0%, #94ebf3 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Keep your existing navbar styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;  /* Changed from 2rem to 0 to accommodate hero section */
    background-color: var(--primary-color) !important;
}

/* Clean, Minimalist Hero Section */
.hero-section {
    background-color: white;
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;  /* Needed for transform to work properly */
}

.hero-section h1:hover {
    transform: scale(1.02);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 400;
}

.header-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

/* Enhanced Content Cards */
.content-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.25);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.content-card:hover::before {
    opacity: 1;
}

/* Section Titles */
.section-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    gap: 1.5rem;
}

.tool-item {
    padding: 1.5rem;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.tool-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.tool-link:hover {
    color: var(--hover-color);
    text-decoration: none;
}

/* Container modifications */
.container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex: 1;
    min-height: 80vh;
    max-width: 1600px !important;
    width: 85% !important;
}

/* Responsive Typography */
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-color);
}

/* Keep your existing footer styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}

/* Add these animation utilities */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add different animation delays for cascading effects */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Enhanced Feature Links */
.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
    display: inline-block;
}

.feature-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    color: var(--hover-color);
    text-decoration: none;
}

.feature-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Enhanced Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Add these styles after your existing card styles */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.125);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.25);
    border-color: var(--primary-color);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover .btn-primary {
    transform: scale(1.05);
}

.article-content {
    line-height: 1.6;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.article-content p {
    margin-bottom: 1.2em;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.2em;
    padding-left: 2em;
}

.article-content code {
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.article-content pre {
    background-color: #f8f9fa;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
}
  