body{background-color:#fff;font-family:'Montserrat',sans-serif}.b-blue{background-color:#1ABC9C !important}.b-red{background-color:#F5F5DC  !important}.text-blue{color:#1ABC9C !important}.text-red{color:#F5F5DC!important}.border-red{border:2px solid #8B0000!important}.border-blue{border:2px solid #001F3F!important}
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.pagination .page-item .page-link {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
}

@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
    }
    .pagination .page-item {
        margin-bottom: 5px;
    }
}


/* Container & Section Styles */
.collection-container {
  padding: 50px 0;
  background-color: #fff;
}
.category-section-header h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1ABC9C;
}

/* Grid Layout */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Category Card */
.category-card {
  background: #F5F5DC;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Animated Border */
.category-border {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(#1ABC9C, #F5F5DC, #1ABC9C);
  animation: rotateBorder 4s linear infinite;
}

/* Category Image */
.category-image {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-image img {
  border-radius: 50%;
  max-width: 80%;
  /* The image remains static */
}

/* Category Name */
.category-name {
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
}

/* Keyframes for border rotation */
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-border {
    width: 100px;
    height: 100px;
  }
  .category-name {
    font-size: 1rem;
  }
}

  /* Blog Card Styling */
/* Animated Button Styling */
.btn-animated {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(45deg, #1ABC9C, #F5F5DC, #1ABC9C, #000);
  background-size: 300%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  animation: gradientBG 4s linear infinite;
}

/* Background Animation */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover Effect */
.btn-animated:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5);
}

/* Button Animation Effect */
.btn-animated::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10%);
  transition: width 0.5s ease-out, height 0.5s ease-out, top 0.5s ease-out, left 0.5s ease-out;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* On Hover Animation */
.btn-animated:hover::before {
  width: 0%;
  height: 0%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .btn-animated {
    padding: 12px 30px;
    font-size: 16px;
  }
}



.collapse {
  transition: height 0.3s ease;
}

.content-wrapper > * {
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

.collapse.show .content-wrapper > * {
  opacity: 1;
}

/* Mobile View Fix */
@media (max-width: 768px) {
    .d-flex {
        flex-direction: row; /* Ensure it stays in one line */
        justify-content: space-between;
        align-items: center;
    }

    .toggle-btn {
        font-size: 36px; /* Smaller icon for mobile */
        padding-bottom: 20px;
    }
}
/*HEADER*/
    @keyframes gradientAnimation {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .custom-navbar {
        background: linear-gradient(-45deg, #1ABC9C, #F5F5DC, #1ABC9C, #000);
        background-size: 300% 300%;
        animation: gradientAnimation 8s ease infinite;
        padding: 10px 20px;
    }

    .typing-logo {
        font-size: 1.2rem;
        font-weight: 500;
        color: white;
        font-family: inherit;
        white-space: nowrap;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        color: #ffffff;
        transition: all 0.3s ease-in-out;
        padding: 6px 10px;
        border-radius: 5px;
    }


    /* Search Bar */
    .search-bar {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.2);
        padding: 5px 10px;
        border-radius: 5px;
    }

    .search-input {
        border: none;
        background: transparent;
        color: white;
        outline: none;
        padding: 5px;
        font-size: 1rem;
        width: 120px;
    }

    .search-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
    }

    .search-btn:hover {
        color: #ff6600;
    }

    /* Mobile Menu */
    .navbar-toggler {
        border: none;
        background: transparent;
    }

    .toggler-icon {
        width: 25px;
        height: 3px;
        color: black;
        margin: 4px;
        transition: all 0.4s ease;
    }

    /* Mobile View */
    @media (max-width: 768px) {
        .container-fluid {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .navbar-collapse {
            background: transparent !important; /* Background transparent hi rahega */
            padding: 15px;
            text-align: center;
        }

        .navbar-nav .nav-item {
            margin-bottom: 8px;
        }

        .search-bar {
            width: 100%;
            justify-content: center;
            margin-top: 10px;
        }
    }

    /* Footer Styling */
    .footer {
        background: linear-gradient(-45deg, #0f172a, #1e293b, #3b82f6, #9333ea);
        background-size: 400% 400%;
        animation: gradientAnimation 8s ease infinite;
        color: white;
        padding-top: 50px;
        padding-bottom: 15px;
        text-align: left;
    }

    @keyframes gradientAnimation {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Footer Title */
    .footer-title {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        cursor: pointer;
        margin-bottom: 10px;
    }

    /* Footer Links */
    .footer a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s, transform 0.3s;
        display: inline-block;
    }
    .footer a:hover {
        color: #ffd700;
        transform: translateX(5px);
    }

    /* Social Icons */
    .social-icons a {
        font-size: 24px;
        margin: 0 10px;
        color: white;
        transition: transform 0.3s, color 0.3s;
    }
    .social-icons a:hover {
        color: #ffcc00;
        transform: rotate(15deg);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .footer-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .toggle-icon {
            margin-left: auto;
        }
        .social-icons {
            padding-top: 15px; 
        }
    }
