/*
Theme Name: EdTechVibe
Description: A clean modern EdTech WordPress theme
Version: 1.0
Author: Blackbox AI
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #1e40af;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e40af;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e40af;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.blog-post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    background: #1e40af;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
}

.read-more:hover {
    background: #1e3a8a;
}

/* write for us & Store */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 4px solid #1e40af;
}

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

.card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.single-post h1 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

/* Footer */
footer {
    background: #1e40af;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section a {
    color: #bfdbfe;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3b82f6;
    color: #bfdbfe;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .blog-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

.section-title{
text-align:center !important;
font-size:48px !important;
color:#1e40af !important;
margin-bottom:50px !important;
}

.posts-grid{
display:grid !important;
grid-template-columns:repeat(3,1fr) !important;
gap:30px !important;
margin-top:40px !important;
}

.post-card{
background:#fff !important;
padding:30px !important;
border-radius:14px !important;
box-shadow:0 4px 15px rgba(0,0,0,0.08) !important;
}

.post-card h3{
color:#1e40af !important;
margin-bottom:15px !important;
}

.read-btn{
display:inline-block !important;
background:#2563eb !important;
color:white !important;
padding:10px 18px !important;
border-radius:8px !important;
text-decoration:none !important;
margin-top:15px !important;
}

.write-for-us-section{
padding:60px 20px;
}

.write-for-us-section ul{
padding-left:20px;
line-height:2;
}

.write-for-us-section h3{
color:#1e40af;
margin-bottom:20px;
}

.post-card ul li{
margin-bottom:10px;
}

.post-card ul li a{
text-decoration:none;
color:#1e40af;
font-weight:600;
}

.post-card ul li a:hover{
text-decoration:underline;
}



.featured-blog-image{
width:90% !important;
height:auto !important;
max-height:500px !important;
object-fit:cover !important;
border-radius:18px !important;
display:block !important;
margin:30px auto !important;
}

.single-post-content{
max-width:1500px !important;
width:96% !important;
margin:40px auto !important;
padding:60px !important;
background:#fff !important;
border-radius:20px !important;
box-sizing:border-box !important;
}

.single-post-content p{
font-size:24px !important;
line-height:2 !important;
}

.single-post-content h1{
font-size:70px !important;
line-height:1.2 !important;
margin-bottom:35px !important;
}


.full-blog-layout{
width:100%;
padding:40px 0;
display:flex;
justify-content:center;
}

.blog-wrapper{
width:95%;
max-width:1400px;
background:#fff;
padding:60px;
border-radius:20px;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
box-sizing:border-box;
overflow:hidden;
}

.blog-wrapper h1{
font-size:64px;
line-height:1.3;
color:#1e40af;
margin-bottom:40px;
}

.featured-blog-image{
width:100%;
max-width:100%;
height:auto;
display:block;
margin:30px auto;
border-radius:18px;
}

.blog-wrapper p{
font-size:22px;
line-height:2;
margin-bottom:30px;
}

.blog-wrapper h2{
font-size:38px;
margin-top:40px;
margin-bottom:20px;
color:#1e40af;
}

.blog-wrapper ul{
padding-left:30px;
margin-bottom:30px;
}

.blog-wrapper li{
font-size:22px;
line-height:1.8;
margin-bottom:10px;
}

@media(max-width:768px){

.blog-wrapper{
padding:25px;
width:92%;
}

.blog-wrapper h1{
font-size:38px;
}

.blog-wrapper h2{
font-size:28px;
}

.blog-wrapper p,
.blog-wrapper li{
font-size:18px;
line-height:1.8;
}

}