:root {
    --primary-color: #6c4ab6;
    --primary-dark: #5a3a9e;
    --primary-light: #8d6bd6;
    --secondary-color: #f8b400;
    --secondary-dark: #ff8f00;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white-color: #ffffff;
    --black-color: #212121;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.05);
  }
  
  .dark-mode {
    --dark-color: #f8f9fa;
    --light-color: #1a1a2e;
    --gray-color: #adb5bd;
    --light-gray: #2d2d44;
    --white-color: #1a1a2e;
    --black-color: #ffffff;
  }
  
  /* Base Styles */
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
    line-height: 1.7;
    transition: background-color 0.5s ease, color 0.5s ease;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
  }
  
  p {
    color: var(--dark-color);
    margin-bottom: 1rem;
  }
  
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  .text-secondary {
    color: var(--secondary-color) !important;
  }
  
  .dark-mode .text-dark {
    color: var(--dark-color) !important;
  }
  
  .dark-mode .text-light {
    color: var(--light-color) !important;
  }
  
  /* Background Colors */
  .bg-primary {
    background-color: var(--primary-color) !important;
  }
  
  .bg-secondary {
    background-color: var(--secondary-color) !important;
  }
  
  .bg-dark {
    background-color: var(--dark-color) !important;
  }
  
  .bg-light {
    background-color: var(--light-color) !important;
  }
  
  .dark-mode .bg-dark {
    background-color: var(--light-color) !important;
  }
  
  .dark-mode .bg-light {
    background-color: var(--dark-color) !important;
  }
  
  /* Preloader */
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
  }
  
  .spinner {
    width: 70px;
    height: 70px;
    position: relative;
  }
  
  .double-bounce1,
  .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
  }
  
  .double-bounce2 {
    animation-delay: -1.0s;
  }
  
  @keyframes sk-bounce {
    0%, 100% {
      transform: scale(0.0);
    }
    50% {
      transform: scale(1.0);
    }
  }
  
  /* Floating Particles */
  .particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  .particle {
    position: absolute;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-up linear infinite;
  }
  
  .dark-mode .particle {
    background: var(--secondary-color);
    opacity: 0.2;
  }
  
  @keyframes float-up {
    0% {
      transform: translateY(100vh) scale(0.5);
      opacity: 0;
    }
    10% {
      opacity: 0.3;
    }
    90% {
      opacity: 0.3;
    }
    100% {
      transform: translateY(-100px) scale(1);
      opacity: 0;
    }
  }
  
  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn-theme {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .btn-theme:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-theme .fa-sun {
    display: none;
  }
  
  .dark-mode .btn-theme .fa-moon {
    display: none;
  }
  
  .dark-mode .btn-theme .fa-sun {
    display: block;
  }
  
  /* Back to Top Button */
  .back-to-top {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
  
  
  /* Hero Section */
  .hero-banner {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(108, 74, 182, 0.85), rgba(90, 58, 158, 0.85)),
                url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    overflow: hidden;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white-color);
    padding: 0 20px;
    max-width: 800px;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
  }
  
  .hero-cta {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .floating-cross {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    z-index: 0;
    animation: float 8s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-30px) rotate(5deg);
    }
  }
  
  /* Section Header */
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-subtitle {
    color: var(--secondary-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  .section-subtitle::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .section-description {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
  }
  
  /* Search Bar */
  .search-bar {
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
  }
  
  .search-bar .form-control {
    height: 60px;
    border-radius: 50px;
    padding-left: 30px;
    border: 2px solid var(--primary-color);
    font-size: 1.1rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .search-bar .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(108, 74, 182, 0.25);
  }
  
  .search-bar .btn {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: var(--transition);
  }
  
  .search-bar .btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
  }
  
  /* Book Card */
  .book-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 95%;
    position: relative;
    border: 1px solid rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .book-card {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .book-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
  }
  
  .book-cover {
    height: 300px;
    overflow: hidden;
    position: relative;
  }
  
  .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }
  
  .book-card:hover .book-cover img {
    transform: scale(1.1);
  }
  
  .book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.875rem;
    box-shadow: 0 3px 10px rgba(248, 180, 0, 0.3);
    z-index: 1;
  }
  
  .book-details {
    padding: 25px;
  }
  
  .book-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
  }
  
  .book-author {
    color: var(--gray-color);
    font-size: 0.9375rem;
    margin-bottom: 12px;
  }
  
  .book-rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.9375rem;
  }
  
  .book-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .book-price del {
    color: var(--gray-color);
    font-size: 1rem;
    margin-right: 10px;
  }
  
  .book-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px;
    border-radius: 50%;
    font-weight: 500;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .dark-mode .btn-outline-primary {
    color: var(--primary-light);
    border-color: var(--primary-light);
  }
  
  .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
  }
  
  /* Category Card */
  .category-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .category-card {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
  }
  
  .category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
  }
  
  .category-card:hover::before {
    opacity: 0.1;
  }
  
  .category-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
  }
  
  .category-card:hover .category-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
  }
  
  .category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
  }
  
  .category-count {
    color: var(--gray-color);
    font-size: 0.9375rem;
  }
  
  /* Advert Banner */
  .advert-banner {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .advert-banner {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .advert-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 74, 182, 0.05), rgba(248, 180, 0, 0.05));
    z-index: 0;
  }
  
  .advert-banner-content {
    position: relative;
    z-index: 1;
  }
  
  .advert-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
  }
  
  .advert-banner h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .advert-banner p {
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
  }
  
  .advert-slide {
    display: none;
  }
  
  .advert-slide.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
  }
  
  .advert-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
  }
  
  .advert-dot {
    width: 12px;
    height: 12px;
    background-color: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .advert-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Advert Card */
  .advert-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .advert-card {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .advert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .advert-image {
    height: 200px;
    overflow: hidden;
  }
  
  .advert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }
  
  .advert-card:hover .advert-image img {
    transform: scale(1.1);
  }
  
  .advert-content {
    padding: 25px;
  }
  
  .advert-content h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 15px;
  }
  
  .advert-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 0.9375rem;
  }
  
  /* Featured Books Section */
  .featured-books {
    padding: 80px 0;
  }
  
  /* Categories Section */
  .categories-section {
    padding: 80px 0;
    background-color: rgba(248, 249, 250, 0.5);
  }
  
  .dark-mode .categories-section {
    background-color: rgba(26, 26, 46, 0.5);
  }
  
  
  
  /* Responsive Styles */
  @media (max-width: 1199.98px) {
    .hero-banner {
      height: 70vh;
    }
  }
  
  @media (max-width: 991.98px) {
    .hero-banner {
      height: 60vh;
      min-height: 500px;
    }
  
    .book-cover {
      height: 250px;
    }
  
    .advert-banner {
      padding: 30px;
    }
  
    .advert-banner img {
      height: 200px;
    }
  }
  
  @media (max-width: 767.98px) {
    .hero-banner {
      height: 500px;
    }
  
    .section-header {
      margin-bottom: 40px;
    }
  
    .book-card,
    .category-card,
    .advert-card {
      margin-bottom: 25px;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  
    .footer-about {
      max-width: 100%;
    }
  }
  
  @media (max-width: 575.98px) {
    .hero-banner {
      height: 450px;
    }
  
    .search-bar .form-control {
      height: 50px;
      padding-left: 20px;
      font-size: 1rem;
    }
  
    .search-bar .btn {
      width: 40px;
      height: 40px;
      right: 5px;
      top: 5px;
    }
  
    .advert-banner {
      padding: 25px;
    }
  
    .advert-banner h3 {
      font-size: 1.5rem;
    }
  
    .advert-banner p {
      font-size: 1rem;
    }
  
    .footer-legal {
      flex-direction: column;
      gap: 10px;
    }
  
    .legal-separator {
      display: none;
    }
  
    .theme-toggle {
      bottom: 20px;
      right: 20px;
    }
  }
  
  /* Mobile Grid for Books (2 columns) */
  @media (max-width: 767.98px) {
    .book-grid .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  
    .book-cover {
      height: 200px;
    }
  
    .book-details {
      padding: 15px;
    }
  
    .book-title {
      font-size: 1.1rem;
    }
  
    .book-price {
      font-size: 1.1rem;
      margin-bottom: 15px;
    }
  
    .btn-primary,
    .btn-outline-primary {
      padding: 8px 15px;
      font-size: 0.875rem;
    }
  
    .btn-outline-primary {
      width: 40px;
      height: 40px;
    }
  }
  
  /* Form Placeholders */
  ::placeholder {
    color: var(--gray-color) !important;
    opacity: 1;
  }
  
  .dark-mode ::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
  }
  
  /* Form Controls */
  .form-control {
    background-color: var(--white-color);
    color: var(--dark-color);
    border: 1px solid rgba(108, 74, 182, 0.2);
  }
  
  .dark-mode .form-control {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(108, 74, 182, 0.25);
  }
  
  /* Select Dropdowns */
  select.form-control {
    background-color: var(--white-color);
    color: var(--dark-color);
  }
  
  .dark-mode select.form-control {
    background-color: var(--light-color);
    color: var(--dark-color);
  }
  
  /* Disabled Form Elements */
  .form-control:disabled {
    background-color: var(--light-gray);
  }
  
  .dark-mode .form-control:disabled {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Card Borders */
  .card {
    border: 1px solid rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .card {
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Table Colors */
  table {
    color: var(--dark-color);
  }
  
  .dark-mode table {
    color: var(--dark-color);
  }
  
  .table th,
  .table td {
    border-color: rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .table th,
  .dark-mode .table td {
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Modal Backgrounds */
  .modal-content {
    background-color: var(--white-color);
  }
  
  .dark-mode .modal-content {
    background-color: var(--light-color);
  }
  
  .modal-header,
  .modal-footer {
    border-color: rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .modal-header,
  .dark-mode .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Tooltips */
  .tooltip {
    --bs-tooltip-bg: var(--primary-color);
  }
  
  /* Popovers */
  .popover {
    --bs-popover-bg: var(--white-color);
    --bs-popover-border-color: rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .popover {
    --bs-popover-bg: var(--light-color);
    --bs-popover-border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Breadcrumbs */
  .breadcrumb-item.active {
    color: var(--dark-color);
  }
  
  /* Pagination */
  .page-link {
    background-color: var(--white-color);
    color: var(--dark-color);
    border-color: rgba(108, 74, 182, 0.1);
  }
  
  .dark-mode .page-link {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .page-item.disabled .page-link {
    background-color: var(--light-gray);
  }
  
  .dark-mode .page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.1);
  }
  

  /* Mobile-First Media Queries */
/* Base styles (up to 480px) are already mobile-friendly */

/* Tablet Styles (481px - 768px) */
@media (min-width: 481px) {
  /* Adjust hero section for tablets */
  .hero-banner {
    height: 65vh;
    min-height: 550px;
  }
  
  
  /* Enhance category cards */
  .category-card {
    padding: 30px 15px;
  }
  
  /* Adjust advert banner */
  .advert-banner {
    padding: 35px;
  }
  
  /* Improve form controls */
  .search-bar .form-control {
    font-size: 1.05rem;
  }
  
  /* Better spacing for section headers */
  .section-header {
    margin-bottom: 50px;
  }
}

/* Small Desktop/Large Tablet Styles (769px - 1024px) */
@media (min-width: 769px) {
  /* Full hero height */
  .hero-banner {
    height: 80vh;
    min-height: 600px;
  }
  
  
  /* Four column layout for categories */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  /* Larger advert banner */
  .advert-banner img {
    height: 300px;
  }
  
  /* Improved typography */
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  /* Better button sizing */
  .btn-primary {
    padding: 12px 25px;
  }
}

/* Large Desktop Styles (1025px and up) */
@media (min-width: 1025px) {
  
  /* Full-width hero content */
  .hero-content {
    max-width: 900px;
  }
  
  /* Larger typography */
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  /* Enhanced spacing */
  .section-header {
    margin-bottom: 70px;
  }
  
  
  /* Larger category icons */
  .category-icon {
    font-size: 60px;
  }
}

/* Mobile-Specific Enhancements (up to 480px) */
@media (max-width: 480px) {
  /* App-like full height sections */
  .hero-banner {
    height: 100vh;
    min-height: 100vh;
    margin-bottom: 40px;
  }
  
  /* Touch-friendly buttons */
  .btn-primary, 
  .btn-outline-primary {
    padding: 12px 20px;
    min-width: 44px;
    min-height: 44px;
  }
  

  
  /* App-like scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Mobile-optimized typography */
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  /* Fixed mobile viewport units */
  @supports (-webkit-touch-callout: none) {
    .hero-banner {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
    }
  }
  
  /* Hide less important elements */
  .section-subtitle::after {
    display: none;
  }
  
  /* Mobile-optimized spacing */
  .section-header {
    margin-bottom: 30px;
  }
  
  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
    width: 100%;
  }
}