/* Header Styles */

:root {
    --primary: #ef1925;
    --primary-light: #ff6b6f;
    --primary-lighter: #ffebec;
    --primary-dark: #d91620;
    }

/* Header Styles */
.header {
    background: white;
    padding: 0.7rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    top: 0;
    z-index: 999;
    }
    
    .header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .logo-img {
    height: 4.3rem;
    }
    
    .nav {
    display: flex;
    }
    
    .nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    }
    
    .nav-list a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #5d5f63;
    font-weight: 500;
    transition: color 0.3s ease;
    }
    
    .nav-list a:hover {
    color: var(--primary);
    }
    
    .login-btn {
    background: #e02e2e;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1rem;
    transition: background-color 0.3s ease;
    }
    
    .login-btn:hover {
    background-color: #ca1717;
    color: white;
    }
    
    .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    }
    
    .hamburger span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
    opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    }
    
    .mobile-nav {
    display: none;
    flex-direction: column;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    z-index: 3;
    }
    
    .mobile-nav.open {
    display: flex;
    }
    
    .mobile-nav a {
    padding: 0.7rem 0;
    color: #98A0B0;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    }
    
    .mobile-nav a:hover {
    color: var(--primary);
    }
    
    @media (max-width: 768px) {
    .nav,
    .login-btn {
      display: none;
    }
    
    .hamburger {
      display: flex;
    }
    }
    
    /* Spacer to see navbar effect */
    .content {
    padding-top: 100px;
    }
    
    /* Desktop Dropdown */
    .nav-list .dropdown {
      position: relative;
    }
    
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: -20px;
      background: white;
      padding: 1rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      z-index: 10;
      width: 12rem;
    }
    
    .dropdown:hover .dropdown-menu {
      display: block;
    }
    
    .dropdown-menu li {
      list-style: none;
      margin-bottom: 0.5rem;
    }
    
    .dropdown-menu li:last-child {
      margin-bottom: 0;
    }
    
    .dropdown-menu a {
      text-decoration: none;
      color: #5d5f63;
      font-weight: 500;
      font-size: 1rem;
      display: block;
      transition: color 0.3s ease;
    }
    
    .dropdown-menu a:hover {
      color: var(--primary);
    }
    
    /* Mobile Dropdown */
    .mobile-dropdown {
      width: 100%;
    }
    
    .mobile-dropdown-toggle {
      background: none;
      border: none;
      font-size: 1.1rem;
      color: #5d5f63;
      padding: 0.7rem 0;
      width: 100%;
      text-align: left;
      cursor: pointer;
      border-bottom: 1px solid #eee;
    }
    
    .mobile-dropdown-menu {
      display: none;
      flex-direction: column;
      padding-left: 1rem;
    }
    
    .mobile-dropdown-menu a {
      padding: 0.5rem 0;
      font-size: 1rem;
      color: #98A0B0;
      text-decoration: none;
    }
    
    .mobile-dropdown-menu a:hover {
      color: var(--primary);
    }
    
    .mobile-dropdown.open .mobile-dropdown-menu {
      display: flex;
    }
    
    .dropdown-icon {
      font-size: 1rem;
      vertical-align: middle;
      margin-left: 4px;
      color: #5d5f63;
    }
    
    .mobile-dropdown-icon {
      font-size: 1.1rem;
      float: right;
      transition: transform 0.3s ease;
      color: #5d5f63;
    }
    
    .mobile-dropdown.open .mobile-dropdown-icon {
      transform: rotate(180deg);
    }

    /* Footer */

.footer {
padding: 1rem 4rem;
text-align: center;
display: flex;
align-items: center;
justify-content: space-between;
}

.footer-logo {
height: 60px;
margin-bottom: 1rem;
}

@media (max-width: 780px) {
.footer {
flex-direction: column;
padding: 1rem;
}
}
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f8f8;
}

/* Header styles */
.hero {
background: linear-gradient(135deg, #e53935 0%, #e35d5b 100%);
color: white;
padding: 5rem 2rem;
text-align: center;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
top: -100px;
left: -100px;
}

.hero::after {
content: '';
position: absolute;
width: 200px;
height: 200px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
bottom: -50px;
right: -50px;
}

.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
font-weight: 700;
position: relative;
z-index: 1;
}

.hero p {
font-size: 1.5rem;
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}

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

/* Blog card */
.blog-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
height: 220px;
overflow: hidden;
}

.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
transform: scale(1.05);
}

.card-content {
padding: 1.5rem;
}

.card-tag {
display: inline-block;
background: #f8f0f0;
color: #e53935;
padding: 0.5rem 1rem;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
margin-bottom: 1rem;
}

.card-date {
color: #888;
font-size: 1rem;
margin-bottom: 0.5rem;
display: block;
}

.card-title {
font-size: 1.4rem;
margin-bottom: 1rem;
color: #333;
font-weight: 700;
}

.card-description {
font-size: 1.1rem;
color: #666;
margin-bottom: 1.5rem;
line-height: 1.6;
}

.card-link {
display: inline-block;
color: #e53935;
font-weight: 600;
font-size: 1.1rem;
text-decoration: none;
position: relative;
transition: color 0.3s ease;
}

.card-link::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
background: #e53935;
bottom: -4px;
left: 0;
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease;
}

.card-link:hover {
color: #c62828;
}

.card-link:hover::after {
transform: scaleX(1);
transform-origin: left;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
align-items: center;
margin-top: 4rem;
gap: 0.5rem;
}

.pagination-item {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
border-radius: 50%;
background: white;
color: #333;
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-decoration: none;
}

.pagination-item.active {
background: #e53935;
color: white;
}

.pagination-item:hover:not(.active) {
background: #f8f0f0;
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.pagination-next {
width: auto;
padding: 0 1.5rem;
border-radius: 25px;
}

/* Responsive styles */
@media (max-width: 1200px) {
.blog-grid {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}

@media (max-width: 768px) {
.header h1 {
font-size: 3rem;
}

.header p {
font-size: 1.2rem;
}

.blog-grid {
grid-template-columns: 1fr;
}

.card-title {
font-size: 1.6rem;
}
}

@media (max-width: 480px) {
.header h1 {
font-size: 2.5rem;
}

.header p {
font-size: 1rem;
}

.pagination-item {
width: 40px;
height: 40px;
font-size: 1rem;
}
}