body{
   background-color:rgba(255, 255, 255, 0.685);
    min-height:100vh;
    font-family: 'Segoe UI', sans-serif;
}
.header-font{
    background-color: rgba(128, 128, 128, 0.288);
    margin-top: 1px;
}
.hero text-center b,p{
    color: #222222d3;
    margin-top: 1%;
    font-weight: 500;
    text-align: center;
    font-size: medium;
}
.Start-center{
  font-size: large;
  text-align: center;
  margin-top: 1px;
  
}
b{
    color: #33333b;
    font-weight: 900;
    text-align: center;
    max-width: 1100px;
    line-height: 52px;
    font-size: 42px;
}
/* NAVBAR */
.navbar{
    box-shadow:0 4px 15px rgba(0, 0, 0, 0);
}

.navbar .d-flex{
    flex-wrap: wrap;
    gap:10px;
}

@media (max-width:768px){
    .navbar .btn{
        width:100%;
    }
}
/* Navbar logo */
.navbar .logo-img {
    height: 40px; /* Adjust the height as needed */
    width: auto;  /* Maintain aspect ratio */
}

/* Optional: Make navbar brand text slightly bigger */
.navbar .navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff; /* white text */
}

/* Optional hover effect */
.navbar .navbar-brand:hover {
    color: #f0f0f0;
}

.progress-bar{
    width: 50%;
}

/* COMMON CARD */
.tool-card{
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding:40px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    animation: fadeIn .6s ease;
}

/* HERO */
.hero{
    width: 100%;
    height: 100px;
    color:white;
}

.hero h1{
    font-size:60px;
    font-weight:700;
}

/*column*/
.shop-section{
    display: flex;
   flex-wrap: wrap;
    justify-content: center;
     background-color: #e2e6e7;
     gap: 15px;
     width: auto;
}
.box{
   /** border: 2px solid black;**/
    height: 240px;
   flex: 1 1 220px;
    max-width:250px;
    background-color: rgba(255, 255, 255, 0.685);
    padding: 20px  0px  15px;
    margin-top: 15px;
    border-radius: 2%;
    border: 1px solid #d6d6df;
    /* border-color: rgb(140, 160, 95); */
    display: flexbox;
}
.box:hover{
    border-color: blue;

}

.box-content{
    margin-left: 1rem;
    margin-right: 1rem;
}
.box-content p{
    color: black;
    text-decoration: none;
    
   
}
.box-content h3{
    color: black;
    text-decoration: none;
    margin-top: -1px;
}
.box-img{
    height: 100px;
    width: 100px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 2px;
    
}

/* FILE LIST */
#pdfList div, #pdfQueue div{
    background:#fff;
    padding:12px 16px;
    margin-bottom:12px;
    border-radius:12px;
    box-shadow:0 6px 12px rgba(0,0,0,.15);
    transition:.3s;
}

#pdfList div:hover, #pdfQueue div:hover{
    transform:scale(1.03);
}

/* BUTTONS */
.btn{
    border-radius:12px;
    padding:10px 18px;
    font-weight:600;
}

.btn-primary{
    background:linear-gradient(135deg,#4facfe,#00f2fe);
    border:none;
}

.btn-secondary{
    background:linear-gradient(135deg,#43e97b,#38f9d7);
    border:none;
    color:#000;
}

/* PREVIEW IMAGES */
#preview img{
    width:200px;
    margin:12px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}

#preview img:hover{
    transform:scale(1.07);
}

/* ANIMATION */
@keyframes fadeIn{
    from{opacity:0; transform:translateY(20px);}
    to{opacity:1; transform:translateY(0);}
}


/*   */
.tool-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    max-width:700px;
    margin:auto;
}

.tool-card h2{
    font-weight:700;
    color:#222;
}

.tool-card input{
    border-radius:12px;
    padding:12px;
}

.tool-card button{
    border-radius:12px;
    padding:10px 20px;
}

.preview-box img{
    transition:.3s;
}

.preview-box img:hover{
    transform:scale(1.05);
}

/* ============================
   RESPONSIVE AUTO FIT FIX
   ============================ */

.container{
    padding-left:15px;
    padding-right:15px;
}

/* HERO AUTO SCALE */
.hero h1{
    font-size: clamp(34px, 6vw, 60px);
}

/* CARD AUTO WIDTH */
.tool-card{
    width:100%;
    max-width:700px;
}

/* PREVIEW IMAGE RESPONSIVE */
#preview img{
    width:100%;
    max-width:200px;
    height:auto;
}

/* TABLET & MOBILE */
@media (max-width: 992px){

    .navbar .d-flex{
        flex-wrap: wrap;
        gap:10px;
    }

    .tool-card{
        padding:28px;
    }

    .btn{
        width:100%;
    }
}

/* MOBILE */
@media (max-width: 768px){

    .hero{
        padding:90px 15px;
        text-align:center;
    }

    #preview img{
        max-width:150px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px){

    .hero h1{
        font-size:32px;
    }

    #preview img{
        max-width:120px;
    }

    .tool-card{
        padding:22px;
    }
}

body{
   background-color:rgba(255, 255, 255, 0.685);
    min-height:100vh;
    font-family: 'Segoe UI', sans-serif;
}
.header-font{
    background-color: rgba(128, 128, 128, 0.288);
    margin-top: 1px;
}
.hero text-center b,p{
    color: #222222d3;
    margin-top: 1%;
    font-weight: 500;
    text-align: center;
    font-size: medium;
}
.Start-center{
  font-size: large;
  text-align: center;
  margin-top: 1px;
  
}
b{
    color: #33333b;
    font-weight: 900;
    text-align: center;
    max-width: 1100px;
    line-height: 52px;
    font-size: 42px;
}
/* NAVBAR */
.navbar{
    box-shadow:0 4px 15px rgba(0, 0, 0, 0);
}

.navbar .d-flex{
    flex-wrap: wrap;
    gap:10px;
}

@media (max-width:768px){
    .navbar .btn{
        width:100%;
    }
}
/* Navbar logo */
.navbar .logo-img {
    height: 40px; /* Adjust the height as needed */
    width: auto;  /* Maintain aspect ratio */
}

/* Optional: Make navbar brand text slightly bigger */
.navbar .navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff; /* white text */
}

/* Optional hover effect */
.navbar .navbar-brand:hover {
    color: #f0f0f0;
}

.progress-bar{
    width: 50%;
}

/* COMMON CARD */
.tool-card{
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding:40px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    animation: fadeIn .6s ease;
}

/* HERO */
.hero{
    width: 100%;
    height: 100px;
    color:white;
}

.hero h1{
    font-size:60px;
    font-weight:700;
}

/*column*/
.shop-section{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}
.box{
   /** border: 2px solid black;**/
    height: 240px;
   flex: 1 1 220px;
    max-width:250px;
    background-color: rgba(255, 255, 255, 0.685);
    padding: 20px  0px  15px;
    margin-top: 15px;
    border-radius: 2%;
    border: 1px solid #d6d6df;
    /* border-color: rgb(140, 160, 95); */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.box:hover{
    border-color: blue;

}
.box a{
    text-decoration: none;
}
.box-content{
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;   /* ✅ Text center */
    display: flex;
    flex-direction: column;
    align-items: center;  /* ✅ h3 + image center */
}
.box-content p{
    color: black;
    text-decoration: none;
    
   
}
.box-content h3{
    color: black;
    text-decoration: none;
    margin-top: -1px;
}
.box-img{
    height: 100px;
    width: 100px;
    background-size: cover;
    background-position: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/* FILE LIST */
#pdfList div, #pdfQueue div{
    background:#fff;
    padding:12px 16px;
    margin-bottom:12px;
    border-radius:12px;
    box-shadow:0 6px 12px rgba(0,0,0,.15);
    transition:.3s;
}

#pdfList div:hover, #pdfQueue div:hover{
    transform:scale(1.03);
}

/* BUTTONS */
.btn{
    border-radius:12px;
    padding:10px 18px;
    font-weight:600;
}

.btn-primary{
    background:linear-gradient(135deg,#4facfe,#00f2fe);
    border:none;
}

.btn-secondary{
    background:linear-gradient(135deg,#43e97b,#38f9d7);
    border:none;
    color:#000;
}

/* PREVIEW IMAGES */
#preview img{
    width:200px;
    margin:12px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}

#preview img:hover{
    transform:scale(1.07);
}

/* ANIMATION */
@keyframes fadeIn{
    from{opacity:0; transform:translateY(20px);}
    to{opacity:1; transform:translateY(0);}
}


/*   */
.tool-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    max-width:700px;
    margin:auto;
}

.tool-card h2{
    font-weight:700;
    color:#222;
}

.tool-card input{
    border-radius:12px;
    padding:12px;
}

.tool-card button{
    border-radius:12px;
    padding:10px 20px;
}

.preview-box img{
    transition:.3s;
}

.preview-box img:hover{
    transform:scale(1.05);
}

/* ============================
   RESPONSIVE AUTO FIT FIX
   ============================ */

.container{
    padding-left:15px;
    padding-right:15px;
}

/* HERO AUTO SCALE */
.hero h1{
    font-size: clamp(34px, 6vw, 60px);
}

/* CARD AUTO WIDTH */
.tool-card{
    width:100%;
    max-width:700px;
}

/* PREVIEW IMAGE RESPONSIVE */
#preview img{
    width:100%;
    max-width:200px;
    height:auto;
}

/* ===================================
   UNIVERSAL NAVBAR RESPONSIVE FIX
   Works For All Pages (No HTML Change)
   =================================== */

/* Prevent overflow */
.navbar .container{
    flex-wrap: wrap;
}

/* Keep buttons aligned properly */
.navbar .d-flex{
    flex-wrap: wrap;
    gap:10px;
}

/* Buttons should not break text */
.navbar .btn{
    white-space: nowrap;
}

/* Dropdown fix */
.navbar .dropdown-menu{
    min-width: 180px;
}

/* =====================
   TABLET FIX
   ===================== */
@media (max-width: 992px){

    .navbar .d-flex{
        justify-content: center;
        width:100%;
    }

}

/* =====================
   MOBILE FIX
   ===================== */
@media (max-width: 768px){

    .navbar .d-flex{
        flex-direction: column;
        align-items: stretch;
        width:100%;
    }

    .navbar .btn{
        width:100%;
        text-align:center;
    }

    .navbar .dropdown{
        width:100%;
    }

    .navbar .dropdown-menu{
        width:100%;
    }
}

/* Extra small devices */
@media (max-width: 480px){

    .navbar .navbar-brand{
        font-size: 1rem;
    }

}

/* ===================================
   GLOBAL RESPONSIVE BODY FIX
   =================================== */

html, body{
    width:100%;
    overflow-x:hidden;   /* Prevent horizontal scroll */
}

/* Container auto padding */
.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding-left:15px;
    padding-right:15px;
}

/* Images responsive */
img{
    max-width:100%;
    height:auto;
}

/* Buttons responsive */
.btn{
    word-wrap: break-word;
}

/* Tool Card Auto Resize */
.tool-card{
    width:100%;
    max-width:700px;
    margin:auto;
}

/* Headings responsive */
h1{
    font-size: clamp(28px, 5vw, 60px);
}

h2{
    font-size: clamp(22px, 4vw, 36px);
}

h3{
    font-size: clamp(18px, 3vw, 24px);
}

/* Input fields responsive */
input, select, textarea{
    width:100%;
    max-width:100%;
}

/* =====================================
   PREMIUM MOBILE NAVBAR DESIGN
   No HTML Change Required
   PC Layout Same Rahil
   ===================================== */

@media (max-width:768px){

    /* Navbar background gradient */
    .navbar{
        background: linear-gradient(135deg,#1f1f1f,#2c2c2c);
        padding:12px 10px;
        box-shadow:0 6px 18px rgba(0,0,0,.25);
    }

    /* Brand center */
    .navbar .navbar-brand{
        width:100%;
        text-align:center;
        font-size:1.1rem;
        margin-bottom:10px;
    }

    /* Buttons vertical layout */
    .navbar .d-flex{
        flex-direction:column;
        align-items:stretch;
        width:100%;
        gap:8px;
    }

    /* Buttons style */
    .navbar .btn{
        width:100%;
        border-radius:10px;
        font-size:14px;
        padding:8px;
        background:rgba(255,255,255,0.05);
        border:1px solid rgba(255,255,255,0.2);
        transition:0.3s ease;
    }

    /* Button hover effect */
    .navbar .btn:hover{
        background:#ffffff;
        color:#000;
        transform:scale(1.02);
    }

    /* Dropdown full width */
    .navbar .dropdown{
        width:100%;
    }

    .navbar .dropdown-menu{
        width:100%;
        border-radius:10px;
        background:#2c2c2c;
        border:none;
    }

    .navbar .dropdown-item{
        color:#fff;
        text-align:center;
    }

    .navbar .dropdown-item:hover{
        background:#ffffff;
        color:#000;
    }

}

/* ===================================
   TABLET FIX
   =================================== */
@media (max-width: 992px){

    .tool-card{
        padding:30px;
    }

}

/* ===================================
   MOBILE FIX
   =================================== */
@media (max-width: 768px){

    body{
        font-size:14px;
    }

    .tool-card{
        padding:20px;
        border-radius:15px;
    }

}

/* ===================================
   SMALL MOBILE
   =================================== */
@media (max-width: 480px){

    body{
        font-size:13px;
    }

    .tool-card{
        padding:15px;
    }

}
/* Desktop - 4 boxes */
@media (min-width: 992px){
    .shop-section .box{
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

/* Tablet - 2 boxes */
@media (max-width: 991px){
    .shop-section .box{
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

/* ❌ REMOVE THIS (1 box on mobile) */
/*
@media (max-width: 576px){
    .shop-section .box{
        flex: 0 0 100%;
        max-width: 100%;
    }
}
*/
@media (max-width: 576px){

    .shop-section{
        gap:10px;
    }

    .box{
        padding:15px 0;
    }

    .box-img{
        width:80px;
        height:80px;
        margin:auto;
    }

    .box-content{
        text-align:center;
    }
}
