      
* { margin: 0; padding: 0; box-sizing: border-box; }
    
body { font-family: Arial, sans-serif; line-height: 1.3; background-color: #fefefe; color: #002B6B;   margin: 0; padding: 0; width: 100%; overflow-x: hidden;}

header{
    padding: 10px; background: #F4F4F4; position: fixed; width: 100%; box-sizing: border-box;  box-shadow: 2px 2px 5px gray;
    
}
.header{
    display: flex; justify-content: space-between; 
}
.header .logo{ display: flex; }
.header .logo img{ width: 30px; height: 20px;  }
.header .logo h1{ font-size: 18px; padding-left: 10px;}
.span1{  background: linear-gradient(90deg, #002B6B, #0056b3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.span2 { background: linear-gradient(90deg, #32CD32, #7CFC00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.profile {  width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: #002B6B; color: white; font-size: 16px; font-weight: bold; text-transform: uppercase; border: 3px solid white; box-shadow: 0 3px 10px rgba(0,0,0,0.15); overflow: hidden; }



    
    /* for alert box */
    .alertBox{ position: fixed; z-index: 9990; background: #fefefe; padding: 10px; width: 100%; height: 100vh; }
    .alertBox .alertCon{ position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50%; border-radius: 10px; padding: 10px; box-shadow: 0 0 5px gray;}
    .alertCon p{ text-align: center; padding: 20px 0px;}
    .close{ text-align: right; display: block; position: relative;  }
    .close a{ text-decoration: none; }
    .errorAlert{ color: red; }
    .successAlert{ color: green;}
    
    
    /* section 1 dashboard css */
    .section1{ padding-top: 70px; }
    
    .header_fotter {
            display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;

        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header_fotter::-webkit-scrollbar {
        display: none;
    }
    
    .header_fotter a{
        text-decoration: none; 
    }
    .header_fotter a .top{
        text-align: center; width: 150px;
    }
    .top p{
        font-size: 14px; color: gray;
    }
    
    
    
     /* =========================================
           POPUP OVERLAY
        ========================================= */
        .popup {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100vh;
            background: black;

            display: flex;
            align-items: center;
            justify-content: center;

            z-index: 99999;
            padding: 20px;
        }

        /* Popup Form */
        .emailform {
            width: 100%;
            max-width: 450px;
            background: #ffffff;
            padding: 35px 25px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
            text-align: center;
            animation: popupShow 0.4s ease;
        }

        .emailform h2 {
            color: #002B6B;
            font-size: 25px;
            margin-bottom: 20px;
        }

        .emailform p {
            color: #555;
            font-size: 15px;
            margin-bottom: 20px;
        }

        .emailform input {
            width: 100%;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            outline: none;
            margin-bottom: 15px;
        }

        .emailform input:focus {
            border-color: #002B6B;
            box-shadow: 0 0 5px rgba(0, 43, 107, 0.2);
        }

        .emailform button {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 50px;
            background: #002B6B;
            color: white;
            font-size: 20px;
            font-weight: 900;
            cursor: pointer;
            transition: 0.3s;
        }

        .emailform button:hover {
            background: #0056b3;
        }

        /* Popup animation */
        @keyframes popupShow {
            from {
                opacity: 0;
                transform: scale(0.85);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }
    
    
    
    .section1 .dashboard{ border-radius: 10px; background: #F4F4F4; margin: 20px; padding: 20px; }
    .dashboard .dbcoll{ display: flex; justify-content: space-between;}
    .dbcoll h1{ background: linear-gradient(90deg, #23ad23, #7CFC00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; }
    .dbcoll .earnings{ margin-top: 30px; }
    .earnings h3{ font-weight: 600; background: linear-gradient(90deg, #23ad23, #7CFC00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    
    .dbcoll form{ width: 40%;}
    .dbcoll form button{ display: block; cursor: pointer; width: 100%; text-align: center; background: #23ad23; color: #f4f4f4; border: none; outline: none; padding: 30px 10px; border-radius: 10px; margin-top: 15px; font-size: 25px; font-weight: 900;}
    .dbcoll form button:hover{ background: white; color: #23ad23; border: 2px solid #23ad23;}
    
    /*FOR DISPLAY NONE*/
    #none{ display: none; }
    
    
    /* section 2 css */
    .section2{ border-radius: 10px; background: #F4F4F4; padding: 10px; margin: 10px; }
    .section2 .sec2coll { 
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        padding: 20px 0;
     }
    .coll2box {
        width: 100%;
    }
    .coll2box img{
      width: 70%; display: block; margin: auto; box-shadow: 2px 2px 3px gray; overflow: hidden;
        }
    .boxfooter span{ font-size: 12px; }
    .boxfooter form{ width: 100%; box-sizing: border-box; }
    .boxfooter form button{ margin: 10px auto; width: 100%; box-sizing: border-box; word-wrap: break-word; padding: 10px; border-radius: 5px; border: 2px solid #7CFC00; background: #F4F4F4; color: #002B6B; }
    .boxfooter form a{
        margin-top: 10px;  background: #f4f4f4; color: blue; display: block; text-decoration: none; text-align: center; padding: 10px 10px; border-radius: 5px;word-wrap: break-word;
    }
    .boxfooter form a:hover{
        background: blue; color: #f4f4f4;
    }
    .boxfooter button:hover{ background: #002B6B; color: white; border: none;}
    
    /*for ebook coll*/
    #sec2ebooksColl { flex: 0 0 180px; background: white; padding: 10px; text-align: center; border-radius: 10px; box-sizing: border-box; margin-bottom: 10px; }
    .ebookLink{position: fixed; top: -9999999px;}
    
    footer{ text-align: center; margin-top: 100px; }
    footer .container p{ font-size: 12px; padding: 20px 10px;}
    
    /* Tablet */
    @media (max-width: 992px) {
        
    }
    /* Mobile */
    @media (max-width: 768px) {
        .alertBox{width: 100%; }
        .alertBox .alertCon{width: 80%; }
        .dashboard .dbcoll{ display: block;  }
        .dbcoll form{ width: 100%; margin-top: 0px;  }
    }
    /* smaller device */
    @media (max-width: 600px) {
      
    }