/*
Theme Name: GDEdu Consultancy Theme
Author: GDEdu
Version: 1.0
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:#f5f7fb;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* HEADER */

header{
position:fixed;
width:100%;
top:0;
background:rgba(11,61,145,0.95);
z-index:1000;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
color:#fff;
font-family:'Poppins';
font-weight:700;
font-size:22px;
}

.nav-links{
display:flex;
align-items:center;
}

.nav-links a{
color:#fff;
margin-left:25px;
text-decoration:none;
font-weight:500;
}

.btn-primary{
background:#D4AF37;
color:#fff;
padding:10px 20px;
border-radius:6px;
text-decoration:none;
}

/* BLOG GRID */

.blog-section{
padding:120px 0 80px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:.3s;
}

.card:hover{
transform:translateY(-10px);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-content{
padding:20px;
}

.card-content h2{
font-size:20px;
margin-bottom:10px;
}

.card-content p{
font-size:14px;
color:#666;
}

/* FOOTER */

footer{
background:#111;
color:#fff;
text-align:center;
padding:40px 0;
font-size:14px;
}

/* MOBILE */

@media(max-width:768px){

.nav-links{
display:none;
}

.grid{
grid-template-columns:1fr;
}

}


/* DROPDOWN */

.dropdown{
position:relative;
}

/* Hide submenu by default */

.dropdown-content{
position:absolute;
top:100%;
left:0;
background:#0B3D91;
min-width:180px;

display:flex;
flex-direction:column;

border-radius:6px;
overflow:hidden;

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:all 0.3s ease;
}

/* Submenu links */

.dropdown-content a{
padding:12px 15px;
color:#fff;
text-decoration:none;
border-bottom:1px solid rgba(255,255,255,0.1);
}

/* Hover effect */

.dropdown-content a:hover{
background:#1c64f2;
}

/* Show submenu on hover */

.dropdown:hover .dropdown-content{
opacity:1;
visibility:visible;
transform:translateY(0);
}


/*new*/
/* DROPDOWN */

.dropdown{
position:relative;
}

.dropdown > a{
display:block;
}

/* submenu hidden by default */

.dropdown-content{
position:absolute;
top:100%;
left:0;
background:#0B3D91;
min-width:180px;

display:flex;
flex-direction:column;

border-radius:6px;
overflow:hidden;
z-index:1000;

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:0.3s;
}

/* submenu links */

.dropdown-content a{
padding:12px 15px;
color:#fff;
text-decoration:none;
border-bottom:1px solid rgba(255,255,255,0.1);
}

/* hover show */

.dropdown:hover .dropdown-content{
opacity:1;
visibility:visible;
transform:translateY(0);
}

@media(max-width:768px){

.dropdown-content{
position:static;
opacity:1;
visibility:visible;
display:none;
background:#1c64f2;
}

.dropdown.active .dropdown-content{
display:block;
}

}
.dropdown-content a {margin-left: 0px;}



/* FOOTER */

footer{
background:#111;
color:#fff;
padding:60px 0 20px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-col h3{
margin-bottom:15px;
color:#D4AF37;
}

.footer-col p{
font-size:14px;
line-height:1.6;
margin-bottom:12px;
}

.footer-bottom{
text-align:center;
margin-top:40px;
border-top:1px solid rgba(255,255,255,0.2);
padding-top:15px;
font-size:13px;
}

.link {text-decoration:none; color:#fff;}


/* =====================================================
   GDEduConsultancy — Blog Post Content CSS Fix
   Paste into: WordPress Admin → Appearance → 
   Customize → Additional CSS
   ===================================================== */

/* ---- Base content area ---- */
.entry-content,
.post-content,
.single-post-content,
article .content,
.wp-block-post-content {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #333;
  max-width: 820px;
  margin: 0 auto;
}

/* ---- Paragraphs ---- */
.entry-content p,
.post-content p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: #444;
}

/* ---- Unordered lists ---- */
.entry-content ul,
.post-content ul {
  list-style: none;         /* remove default bullet */
  padding-left: 0;
  margin: 20px 0 28px 0;
}

.entry-content ul li,
.post-content ul li {
  position: relative;
  padding: 10px 16px 10px 42px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  background: #f9fbff;
  border-left: 3px solid #0B3D91;
  border-radius: 6px;
}

/* custom bullet — gold dot */
.entry-content ul li::before,
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: #D4AF37;
  border-radius: 50%;
  flex-shrink: 0;
}

/* bold text inside li */
.entry-content ul li strong,
.post-content ul li strong {
  color: #0B3D91;
  font-weight: 600;
}

/* ---- Ordered lists ---- */
.entry-content ol,
.post-content ol {
  padding-left: 24px;
  margin: 20px 0 28px 0;
}

.entry-content ol li,
.post-content ol li {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
  padding-left: 6px;
}

.entry-content ol li::marker {
  color: #0B3D91;
  font-weight: 700;
}

/* ---- Headings inside content ---- */
.entry-content h2,
.post-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0B3D91;
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8eef8;
}

.entry-content h3,
.post-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1c64f2;
  margin: 32px 0 12px;
}

/* ---- Horizontal rule ---- */
.entry-content hr,
.post-content hr {
  border: none;
  border-top: 2px solid #e8eef8;
  margin: 40px 0;
}

/* ---- Images inside content ---- */
.entry-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 24px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .entry-content,
  .post-content {
    font-size: 15px;
  }

  .entry-content ul li,
  .post-content ul li {
    font-size: 15px;
    padding: 9px 14px 9px 38px;
  }

  .entry-content h2,
  .post-content h2 {
    font-size: 22px;
  }

  .entry-content h3,
  .post-content h3 {
    font-size: 18px;
  }
}
