/* Font Face Declarations */
@font-face {
  font-family: 'Gudea';
  src: url('/fonts/Gudea-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'FiraSans';
  src: url('/fonts/FiraSans-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'AlegreyaSans';
  src: url('/fonts/AlegreyaSans-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'JosefinSans';
  src: url('/fonts/JosefinSans-Regular.ttf') format('truetype');
  font-display: swap;
}

/* Typography */
a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #000066;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a1a8c;
}

h1 {
  font-family: 'AlegreyaSans', sans-serif;
    font-size: 35px;
    margin: 0 0 20px 0;
}

h2 {
  font-family: 'Gudea', sans-serif;
    font-size: 30px;
    margin: 0 0 15px 0;
}

h3 {
  font-family: 'Rajdhani', sans-serif;
    font-size: 25px;
    margin: 0 0 10px 0;
}

h4 {
  font-family: 'JosefinSans', sans-serif;
    font-size: 20px;
    margin: 0 0 8px 0;
}

p {
  font-family: 'FiraSans', sans-serif;
    margin: 0 0 10px 0;
}

/* Base Styles */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    max-width: 100%;
}

/* Prevent horizontal scrolling and fix double vertical scrolling */
html, body {
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: auto;
}

body {
    overflow-y: auto;
    min-height: 100vh;
}

/* Ensure all containers respect viewport width */
.page-header,
.main-content,
.email-subscribe-container,


body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    background-color: #f5f5f5;
    font-family: 'FiraSans', sans-serif;
    line-height: 1.6;
    position: relative;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 50%, #2d2da0 100%);
    color: #ffffff;
    padding: 60px 0 80px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.page-header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 25px;
    font-size: 15px;
  display: flex;
  align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #c5c5fc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.breadcrumb a i {
    font-size: 14px;
}

.breadcrumb-separator {
    color: #c5c5fc;
  display: flex;
    align-items: center;
}

.breadcrumb-separator i {
    font-size: 12px;
}

.current-page {
    color: #ffffff;
  font-weight: 600;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Header Content */
.header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.header-text {
    max-width: 600px;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
  display: flex;
  align-items: center;
    gap: 15px;
    line-height: 1.2;
}

.page-title i {
    font-size: 42px;
    color: #c5c5fc;
    animation: pulse 2s infinite;
}

.page-subtitle {
    font-size: 18px;
    color: #c5c5fc;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Header Stats */
.header-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
  position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    margin-bottom: 10px;
}

.stat-icon i {
    font-size: 28px;
    color: #c5c5fc;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #c5c5fc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header Decoration */
.header-decoration {
  position: absolute;
    top: 0;
  left: 0;
  right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Main Content */
.main-content {
    padding: 0 0 50px 0;
    position: relative;
    overflow: visible;
}

.content-container {
    max-width: 1920px;
  margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

/* Left Sidebar */
.left-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    overflow: visible;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 22px;
    font-weight: bold;
    color: #000066;
    margin-bottom: 20px;
  text-align: center;
    border-bottom: 2px solid #c5c5fc;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 12px;
}

.category-link {
  display: flex;
  align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #000066;
    text-decoration: none;
    font-weight: 500;
}

.category-link:hover {
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    color: #ffffff;
    transform: translateX(5px);
}

.category-icon {
    width: 8px;
    height: 8px;
    background-color: #000066;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.category-link:hover .category-icon {
    background-color: #ffffff;
}

/* Main Content Area */
.main-content-area {
    min-height: 500px;
    position: relative;
    overflow: visible;
}

/* Featured Categories Section */
.featured-categories {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #000066;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
  overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-card .category-link {
  display: block;
    color: inherit;
  text-decoration: none;
    padding: 0;
    background: none;
    transform: none;
}

.category-card .category-link:hover {
    background: none;
    color: inherit;
    transform: none;
}

.category-image-container {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
  position: relative;
  overflow: hidden;
}

.category-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image-container img {
  transform: scale(1.05);
}

.category-content {
    padding: 20px;
    position: relative;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    color: #000066;
    margin-bottom: 8px;
    text-align: center;
}

.category-stores {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.category-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(10px);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Email Subscribe CSS */
.email-subscribe-container {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.subscribe-container {
    width: 100%;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    border-radius: 20px;
  overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 102, 0.3);
    position: relative;
}

.subscribe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.subscribe-background {
    background: transparent;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.subscribe-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
  text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.subscribe-box h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000066;
    font-family: 'AlegreyaSans', sans-serif;
}

.subscribe-box p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.subscribe-box form {
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 15px;
  flex-wrap: wrap;
}

.subscribe-box input[type="email"] {
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
  outline: none;
    min-width: 280px;
    max-width: 100%;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.subscribe-box input[type="email"]:focus {
    border-color: #000066;
    box-shadow: 0 0 0 3px rgba(0, 0, 102, 0.1);
}

.subscribe-box input[type="email"]::placeholder {
    color: #999;
}

.subscribe-box button {
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    color: #ffffff;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
  border: none;
    border-radius: 25px;
  cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-box button:hover {
  transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 102, 0.3);
}

.subscribe-box button:active {
    transform: translateY(0);
}



/* Responsive Design */
@media (max-width: 1200px) {
    .content-container {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .page-header-container {
        padding: 0 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .email-subscribe-container {
        padding: 40px 15px;
    }
    
    .subscribe-box input[type="email"] {
        min-width: 220px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header-container,
    .content-container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 40px 0 60px 0;
        overflow-x: hidden;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .page-title {
        font-size: 32px;
        justify-content: center;
        word-wrap: break-word;
    }
    
    .page-title i {
        font-size: 28px;
    }
    
    .page-subtitle {
    font-size: 16px;
  }

    .header-stats {
        justify-content: center;
    gap: 15px;
        flex-wrap: wrap;
    }
    
    .stat-card {
        min-width: 110px;
        max-width: 140px;
        padding: 12px;
        flex: 1;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .breadcrumb {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .content-container {
    grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .left-sidebar {
        position: static;
        order: 2;
    }
    
    .main-content-area {
        order: 1;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    /* Email subscribe responsive */
    .email-subscribe-container {
        padding: 30px 15px;
    }
    
    .subscribe-background {
        padding: 30px 20px;
  }

  .subscribe-box {
        padding: 30px 20px;
    }
    
    .subscribe-box h3 {
        font-size: 24px;
    }
    
    .subscribe-box form {
        flex-direction: column;
        gap: 15px;
    }
    
    .subscribe-box input[type="email"] {
        min-width: 100%;
    width: 100%;
  }

    .subscribe-box button {
        width: 100%;
    }
    
    
}

@media (max-width: 480px) {
    .page-header-container,
    .content-container {
        padding: 0 10px;
    }
    
    .page-header {
        padding: 25px 0 45px 0;
        overflow-x: hidden;
    }
    
    .page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .page-title i {
        font-size: 24px;
    }
    
    .page-subtitle {
    font-size: 14px;
        line-height: 1.4;
    }
    
    .header-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .stat-card {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 15px;
    }
    
    .breadcrumb {
        font-size: 12px;
        gap: 3px;
        flex-wrap: wrap;
    }
    
    .breadcrumb a {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    gap: 15px;
  }

    .category-card {
        max-width: 100%;
    }
    
    .decoration-circle {
        display: none;
    }
    
    /* Email subscribe responsive for small screens */
    .email-subscribe-container {
        padding: 20px 5px;
        max-width: 100%;
    }
    
    .subscribe-background {
        padding: 15px 10px;
    }
    
    .subscribe-box {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .subscribe-box h3 {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .subscribe-box p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .subscribe-box form {
        gap: 10px;
    }
    
    .subscribe-box input[type="email"] {
        padding: 12px 15px;
        font-size: 14px;
        min-width: auto;
        width: 100%;
    }
    
    .subscribe-box button {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
    
   
}

/* Animation for smooth transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.category-link:focus,
.subscribe-box input[type="email"]:focus,
.subscribe-box button:focus {
    outline: 2px solid #000066;
  outline-offset: 2px;
}

/* Print styles */
@media print {
    .left-sidebar,
    .email-subscribe-container {
        display: none;
    }
    
    .content-container {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        background: #ffffff !important;
        color: #000000 !important;
    }
}



