/* Global Styles */
:root {
  /* Deep Navy Blue Foundation */
  --saffron: #0a66c2; /* Professional blue accent (buttons, highlights) */
  --white: #ffffff; /* Pure white */
  --green: #2e8b57; /* Deep sea green (success, secondary actions) */
  --navy: #001f3f; /* Rich navy blue (headers, navigation) */

  /* Supporting Colors */
  --light-blue: #e6f0fa; /* Soft blue tint (backgrounds, cards) */
  --dark-gray: #1a2930; /* Deep blue-gray (text, headings) */
  --light-gray: #f5f8fa; /* Light blue-gray (backgrounds) */
  --accent: #ff6b35; /* Vibrant coral (calls-to-action, accents) */

  /* Effects */
  --shadow: 0 4px 12px rgba(2, 28, 58, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Nirmala UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--navy);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--saffron);
}

img {
  max-width: 100%;
  display: block;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--saffron);
  color: var(--dark-gray);
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  background: #e68a29;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-green {
  background: var(--green);
  color: white;
  margin-left: 15px;
}

.btn-green:hover {
  background: #0d6e07;
  color: white;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--saffron), var(--navy));
  color: white;
  padding: 10px 0;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 150px;
  margin-left: -100px;
}

.logo-icon {
  font-size: 2.2rem;
  color: var(--white);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-text span {
  color: var(--green);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

nav ul li a:hover {
  background: rgba(204, 46, 46, 0.2);
  color: white;
}

.search-container {
  display: flex;
  gap: 10px;
}

.search-container input {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  width: 250px;
  font-size: 1rem;
}

.search-container button {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-container button:hover {
  background: #0d6e07;
}

/* Featured Section on Blog Pages */
.featured-section {
  background: #f8f9fa;
  padding: 40px 0;
  margin-top: 40px;
}

.featured-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .search-container {
    width: 100%;
    margin-top: 15px;
  }

  .search-container input {
    width: 100%;
  }

  .header-container {
    flex-wrap: wrap;
  }

  nav ul {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }
}

/* Hero Section */
.hero {
  background: url("https://images.unsplash.com/photo-1580894742597-87bc8789db3d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80")
    no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  color: white;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Exam Categories */
.exam-categories {
  padding: 60px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--navy);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--saffron);
  margin: 15px auto;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.category-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--green);
  text-align: center;
  padding: 30px 20px;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
  font-size: 3rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--navy);
}

/* Latest Posts */
.latest-posts {
  padding: 60px 0;
  background: var(--light-gray);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 4px solid var(--saffron);
}

.post-content {
  padding: 25px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tag {
  background: var(--light-blue);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 600;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--navy);
}

.post-intro {
  margin-bottom: 20px;
  color: #555;
}

.read-more {
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
}

.read-more:hover {
  color: #0d6e07;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: white;
  padding: 70px 0;
  text-align: center;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.newsletter-form button {
  background: var(--saffron);
  color: var(--dark-gray);
  border: none;
  padding: 15px 25px;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #e68a29;
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--saffron);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--saffron);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--saffron);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    justify-content: center;
  }

  .search-container {
    width: 100%;
    max-width: 500px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .search-container input {
    width: 200px;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav ul li {
    margin: 5px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    display: block;
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .btn-green {
    margin-left: 0;
  }

  .search-container {
    width: 100%;
  }

  .search-container input {
    width: 100%;
  }
}

/* Blog Template Styles */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

@media (max-width: 992px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}

.blog-content {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.blog-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.blog-category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--navy));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.blog-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.blog-meta {
  color: #666;
  margin-bottom: 20px;
  font-size: 1rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tag {
  background: var(--light-blue);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

.blog-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.blog-body h2 {
  color: var(--navy);
  margin: 30px 0 15px 0;
  font-size: 1.8rem;
}

.blog-body h3 {
  color: var(--navy);
  margin: 25px 0 15px 0;
  font-size: 1.4rem;
}

.blog-body p {
  margin-bottom: 20px;
}

.blog-body ul,
.blog-body ol {
  margin: 15px 0 20px 30px;
}

.blog-body li {
  margin-bottom: 10px;
}

.blog-footer {
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
  margin-top: 30px;
}

.blog-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-item {
  color: #666;
  font-weight: 500;
  font-size: 1rem;
}

.blog-difficulty {
  margin-bottom: 15px;
  color: #666;
  font-size: 1rem;
}

.exam-relevance,
.related-ncert {
  margin-bottom: 15px;
  color: #666;
  font-size: 1rem;
}

/* Sidebar Styles */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-section {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.sidebar-section h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.recent-post-item:hover {
  background: #e9ecef;
  border-left-color: var(--saffron);
  transform: translateX(5px);
}

.recent-post-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.recent-post-meta {
  font-size: 0.9rem;
  color: #666;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.category-item:hover {
  background: linear-gradient(135deg, var(--saffron), var(--navy));
  color: white;
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-tag {
  background: #f0f0f0;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popular-tag:hover {
  background: var(--saffron);
  color: white;
}

/* Blog Navigation */
.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin: 60px 0 30px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.nav-prev,
.nav-next {
  flex: 1;
}

.nav-next {
  text-align: right;
}

.blog-navigation a {
  display: block;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
  border: 1px solid #e0e0e0;
}

.blog-navigation a:hover {
  background: linear-gradient(135deg, var(--saffron), var(--navy));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-navigation span {
  display: block;
}

.blog-navigation span:first-child {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.blog-navigation span:last-child {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .nav-next {
    text-align: left;
  }
}

.disabled-link {
  display: block;
  padding: 15px 20px;
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: default;
}

.nav-prev .disabled-link {
  text-align: left;
}

.nav-next .disabled-link {
  text-align: right;
}

/* Category count style */
.category-count {
  font-size: 0.8rem;
  color: #666;
  margin-left: 5px;
}

/* Section title cursor */
#articles-section-title {
  cursor: pointer;
  transition: all 0.3s ease;
}

#articles-section-title:hover {
  color: var(--saffron);
}

/* Filter indicator */
.filter-indicator {
  display: inline-block;
  margin-left: 10px;
  background: var(--saffron);
  color: white;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Clear filter button */
.clear-filter {
  display: inline-block;
  margin-left: 15px;
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

.clear-filter:hover {
  color: var(--saffron);
}

/* Add mobile menu button styles */
.mobile-menu-button {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* Responsive navigation styles */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: wrap;
  }
  .mobile-menu-button {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
  }

  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--saffron), var(--navy));
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .nav-active ul {
    max-height: 500px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  nav ul li {
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .search-container {
    display: flex;
    width: 100%;
    order: 2; /* Place below logo but above navigation */
    margin-top: 15px;
    padding: 0 15px;
  }

  .search-visible .search-container {
    display: flex;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .post-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}

/* Reduce base font size for mobile */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 10px 0;
  }

  .logo {
    width: 250px;
    margin-left: 2px;
    margin-bottom: -100px;
  }

  .mobile-menu-button {
    top: 12px;
    right: 10px;
  }

  .search-container {
    margin-top: 10px;
    padding: 0 10px;
    margin-left: 150px;
  }
}

@media (max-width: 576px) {
  .logo {
    width: 200px;
    margin-bottom: -100px;
  }
  .logo-icon {
    font-size: 1.8rem;
  }
  .search-container {
    margin-top: 10px;
    padding: 0 10px;
    margin-left: -1px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .search-container button {
    padding: 10px;
  }

  .search-container button i {
    display: block;
  }

  .search-container button span {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/*
@media (max-width: 576px) {
  .hero {
    height: 300px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero-content > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
  } */

.btn-green {
  margin-left: 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .post-card {
    margin-bottom: 20px;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-intro {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .categories-grid,
  .posts-grid {
    gap: 15px;
  }

  .category-card {
    padding: 20px 15px;
  }

  .category-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .category-title {
    font-size: 1.1rem;
  }
}
@media (max-width: 992px) {
  .blog-container {
    gap: 30px;
  }

  .blog-content {
    padding: 30px;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .blog-body {
    font-size: 1rem;
  }

  .blog-body h2 {
    font-size: 1.5rem;
  }

  .blog-body h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 1.5rem;
  }

  .blog-body {
    font-size: 0.95rem;
  }

  .blog-body h2 {
    font-size: 1.3rem;
  }

  .blog-body h3 {
    font-size: 1.1rem;
  }

  .blog-stats {
    gap: 15px;
  }

  .sidebar-section {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-col h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .footer-links li {
    margin-bottom: 8px;
  }

  .social-links {
    margin-top: 15px;
  }

  .copyright {
    padding-top: 20px;
    font-size: 0.8rem;
  }
}

/* Ensure touch targets are at least 44px for accessibility */
/*
nav ul li a,
.btn,
.search-container button,
.category-item,
.popular-tag,
.recent-post-item,
.blog-navigation a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .btn {
    width: 100%;
  }
} */

/* Floating Search Styles */
.floating-search {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-search-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--navy));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.floating-search-button:hover {
  transform: scale(1.1);
}

.floating-search-container {
  display: none;
  width: 300px;
  background: white;
  border-radius: 0%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  align-items: center;
}

.floating-search-container input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 1rem;
}

.floating-search-container button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0 20px;
  height: 100%;
  cursor: pointer;
}

/* Show search container when active */
.floating-search.active .floating-search-container {
  display: flex;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-search {
    bottom: 20px;
    right: 20px;
  }

  .floating-search-button {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .floating-search-container {
    width: 260px;
  }
}

@media (max-width: 576px) {
  .floating-search {
    bottom: 15px;
    right: 15px;
  }

  .floating-search-container {
    width: calc(100vw - 30px);
    right: 15px;
  }
}
