        @import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Indie+Flower&family=Kode+Mono:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&family=Single+Day&family=Yuji+Boku&display=swap');

:root{
    --orange:orange;
    --text-color-1:black;
    --text-color-2:#666;
    --box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

    --bg-color-1:#f0f4f8;
    --bg-color-2:#fff;
    --blue-text: blue;
    --navlinks-bg-color:#d6d6ff;

    --navpop-bg:black;
    --border-color: #ddd;
    --warning-info-bg:#f8d7da;
    --warning-info-text:#721c24;

    --success-info-text: #155724;
    --success-info-bg:#d4edda;

    /* Theme-specific variables for payment pages */
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --nav-bg-color: #f8f9fa;
    --guest-notice-bg: #e8f4fd;
    --guest-notice-border: #3498db;
    --guest-notice-title: #2980b9;
    --guest-notice-text: #34495e;
    --button-download: #2ecc71;
    --button-download-hover: #27ae60;
    --button-browse-bg: transparent;
    --button-browse-border: orange;
    --button-browse-text: orange;
    --button-browse-hover-bg: orange;
    --button-browse-hover-text: white;
    --button-register: #87ceeb;
    --button-register-hover: #5fb3d4;
    --button-login: orange;
    --button-login-hover: #cc8400;
    --card-shadow: 0 0 10px rgba(0,0,0,0.1);
}

*{
    font-family: "Montserrat", sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    transition:all .2s linear;
}

body{
    background:var(--bg-color-2); 
}

body.active{
    --text-color-1:#fff;
    --text-color-2:#eee;
    --box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    --bg-color-1:#263238;
    --bg-color-2:#37474f;

    --blue-text: skyblue;
    --navlinks-bg-color:#39392c;
    --navpop-bg:white;
    --border-color: #546e7a;
    --warning-info-text:#f5c6cb;
    --warning-info-bg:#2d1b1e;

    --success-info-text: #a3d9a5;
    --success-info-bg: #1e4d26;

    /* Dark theme variables for payment pages */
    --nav-bg-color: #333;
    --guest-notice-bg: #2c3e50;
    --guest-notice-border: #3498db;
    --guest-notice-title: #5dade2;
    --guest-notice-text: #bdc3c7;
    --button-download: #2ecc71;
    --button-download-hover: #27ae60;
    --button-browse-bg: transparent;
    --button-browse-border: orange;
    --button-browse-text: orange;
    --button-browse-hover-bg: orange;
    --button-browse-hover-text: white;
    --button-register: #87ceeb;
    --button-register-hover: #5fb3d4;
    --button-login: orange;
    --button-login-hover: #cc8400;
    --card-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    color:var(--text-color-1);
    font-size: 4rem;
}

.heading span{
    position: relative;
    z-index: 0;
}

.heading span::before{
    content: '';
    position: absolute;
    bottom: 1rem; left: 0;
    z-index: -1;
    background: var(--orange);
    height: 100%;
    width: 100%;
    clip-path: polygon(0 90%, 100% 83%, 100% 100%, 0% 100%);
}

.header{
    position: fixed;
    top:0; left:0; right:0;
    background-image: linear-gradient(98.7deg, rgba(6,238,243,1) 10.6%, rgba(34,126,209,1) 72.2%, rgba(35,44,51,1) 122.5%, rgba(35,44,51,1) 122.5%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.header .logo{
    font-weight: bolder;
    font-size: 1.9rem;
    margin-left: 5px;
    color: white;
}

/*the icons*/
.header .icons div{
    height:2.2rem;
    width:2.2rem;
    line-height:2.1rem;
    font-size: 1.3rem;
    background:var(--bg-color-2);
    color:var(--text-color-1);
    cursor: pointer;
    text-align: center;
    border-radius: .5rem;
    margin-right: 3px;
}

.icons{
  margin-right: .4rem;
}

.header .icons div:hover{
    color:#fff;
    background:var(--orange);
}

/* Logo image styles */
.header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header .logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.header .logo .logo-img:hover {
    transform: scale(1.05);
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .header .logo .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header .logo .logo-img {
        height: 30px;
    }
}

/*****************************navbar notofications section********************************/
.header .nav-pop{
    position:absolute;
    top:115%; right:4%;
    background:var(--navpop-bg);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    padding: 8px;
    transform:scale(0);
    transform-origin: top right;
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header .nav-pop.active{
    transform:scale(1);
}

.register-button {
    width: 100%;
    margin-bottom: 10px;
}

.login-button{
  width: 100%;
}

.register-btn,
.login-btn {
    width: 100%;
    border: none;
    padding: 5px 5px;
    border-radius: 7px;
    font-weight: bold;
}

.register-btn {
    background-color: orange;
}

.login-btn {
    background-color: lime;
}

.register-btn:hover,
.login-btn:hover {
    filter: brightness(0.8);
}

/*************************************navbar menu items***********************/
.header .navbar{
    position:absolute;
    top:115%; right:1%;
    background:var(--navlinks-bg-color);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    transform:scale(0);
    transform-origin: top right;
}

.header .navbar.active{
    transform:scale(1);
}

.header .navbar a{
    display:block;
    margin:1rem;
    font-size: 1.0rem;
    color:var(--text-color-1);
    border-radius: .5rem;
    padding:4px;
    font-weight: 600;
}

.header .navbar a:hover{
    color:var(--orange);
    background:var(--bg-color-2);
    padding-left: 1rem;
}

/*****************************all icon colors********************************/
i.greencolor{
    color: green;
}

i.redcolor {
    color: red;
}

i.bluecolor {
    color: #0082e6;
}

i.orangecolor {
    color: #b87700;
}

i.pinkcolor{
    color:#c71585;
}

i.skybluecolor{
    color: #008b8b;
}

/* Bottom navigation */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color-2);
    display: flex;
    justify-content: space-around;
    padding: 7px 0;
    box-shadow: 0 -4px 10px rgba(30, 136, 229, 0.2); 
}

.nav-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color-1);
  text-decoration: none;
  -webkit-tap-highlight-color:transparent;
  transition: background-color 0.1s ease-in-out;
}

.nav-link i{
 font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .category-section {
        flex-direction: row;
    }
}