/* Hero Section - Competitor Style */
/* Define Global Font Variables */
:root {
    --font-primary: "Inter", sans-serif;
    --font-secondary: "Manrope", sans-serif;
  }
  
  /* Global Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary); /* Apply primary font globally */
  }
  
  body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
  }
  


/* Final Navigation Styles */
header {
  background-color: #f8f8f8;
  padding: 15px 0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}

nav .logo img {
  height: auto;
  max-height: 80px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* Add dropdown indicator */
nav ul li.has-dropdown > a::before {
  content: '▾';
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  color: #666;
}

/* Main navigation links - keep original style */
nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 17px;
  transition: color 0.3s ease;
  padding: 10px 15px;
  font-family: var(--font-secondary);
  position: relative;
}

/* Apply underline animation only to non-dropdown links */
nav ul li:not(.has-dropdown) > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #F47E31;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li:not(.has-dropdown) > a:hover::after {
  width: calc(100% - 30px);
}

/* Remove underline animation for dropdown items */
nav ul .dropdown li a::after {
  display: none;
}

/* Improved Dropdown Menu with Two Columns */
.dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  min-width: 450px;
  z-index: 100;
  padding: 15px;
  border: 1px solid #eee;
}

nav ul li:hover .dropdown {
  display: block;
}

/* Two-column layout for dropdown */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
}

/* Category headers for dropdown */
.category-header {
  display: block;
  font-weight: bold;
  color: #06476E;
  padding: 10px 0 5px;
  margin-top: 5px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.category-header:first-child {
  margin-top: 0;
}

.dropdown li {
  padding: 0;
  margin: 0;
}

/* Make dropdown text bolder and easier to read */
.dropdown li a {
  color: #333;
  display: block;
  padding: 8px 10px;
  font-weight: 600; /* Make text bolder */
  transition: color 0.3s ease;
}

/* Simpler hover effect - just darken text */
.dropdown li a:hover {
  color: #0055aa; /* Darken text on hover */
  background-color: #f8f8f8; /* Very light background change */
}

/* See All Conditions link spans both columns */
.see-all {
  grid-column: span 2;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.see-all a {
  text-align: center;
  color: #0055aa;
  font-weight: bold;
}

/* Mobile Navigation - CSS only approach */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle-input {
  display: none;
}

@media (max-width: 884px) {
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: relative;
  }
  
  nav > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 10px;
  }
  
  .mobile-toggle-input:checked ~ ul {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    width: 100%;
  }
  
  /* Remove underline animation for mobile */
  nav ul li a::after {
    display: none;
  }
  
  /* Mobile dropdown */
  .mobile-dropdown-toggle {
    display: none;
  }
  
  .dropdown {
    position: static;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    display: none;
    border: none;
    background: transparent;
    padding: 10px 0 10px 15px;
  }
  
  .dropdown-grid {
    display: block;
  }
  
  .see-all {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  .mobile-dropdown-toggle:checked ~ .dropdown {
    display: block;
  }
  
  /* Mobile toggle indicator */
  .mobile-dropdown-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .mobile-dropdown-label::after {
    content: '+';
    font-size: 20px;
    color: #666;
  }
  
  .mobile-dropdown-toggle:checked + .mobile-dropdown-label::after {
    content: '−';
  }
}

/* Target MacBook screen sizes (typically 1280px-1440px wide) */
@media screen and (min-width: 1196px) and (max-width: 1440px) {
  /* Make logo smaller */
  nav .logo img {
    max-height: 68px; /* Reduced from 68px */
    max-width: 300px; /* Controlled max-width */
  }
  
 
}

/* iPad landscape - complete navigation adjustment */
@media screen and (min-width: 885px) and (max-width: 1195px) {
  /* Smaller logo */
  nav .logo img {
    max-height: 50px;
    max-width: 220px;
  }
  
  /* Adjust navigation text and spacing */
  nav ul {
    gap: 12px; /* Reduce spacing between items */
  }
  
  nav ul li a {
    font-size: 14px; /* Smaller font size */
    padding: 10px 6px; /* Reduced padding */
    letter-spacing: -0.2px; /* Slightly tighter letter spacing */
  }
  
  /* Reduce dropdown indicator size if needed */
  nav ul li.has-dropdown > a::before {
    font-size: 10px;
  }
  
 
  
  /* Make dropdown narrower */
  .dropdown {
    min-width: 400px; /* Instead of 450px */
  }
}

  


/* Blog Hero Section */
.blog-hero {
    background: #021130; /* Subtle but clear */ /* Subtle but clear */
    padding: 80px 20px 40px; /* Reduced bottom padding */
    text-align: center;
    height: auto;
    border-bottom: 1px solid #D1D9E0; /* Clean, professional look */
}

.blog-hero h1 {
    color: white; /* Deep charcoal for better readability */
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: none !important;
}

.blog-hero p {
    color: white; /* Slightly darker grayish-blue */
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: none !important;
}

/* Blog Listing */
.blog-listing {
    padding: 80px 0;
    background-color: #EEF5FF;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    display: block;
    overflow: hidden;
    height: 220px;
}

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

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

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-date {
    margin-right: 20px;
}

.blog-meta i {
    color: #F47E31;
    margin-right: 5px;
}

.blog-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content h2 a {
    color: #06476E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #F47E31;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #F47E31;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #06476E;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.current-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #06476E;
    color: white;
    border-radius: 50%;
    font-weight: 600;
}




/* Responsive Styles */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        padding: 60px 0;
    }

    .blog-hero h1 {
        font-size: 32px;
    }

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

}

/* Footer */
footer {
  background: #1C1C1C;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.footer-column h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-column p, .footer-column a {
  color: #B4B4B4;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.social-links a {
  margin-right: 20px;
  font-size: 20px;
}

.footer-bottom {
  text-align: left;
  padding: 20px;
  color: #B4B4B4;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}