
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
}
/* ---------    header or menu  section ------    */
#header{
    text-align: right;
    background-color:  rgb(233, 236, 236);
    color: rgb(20, 100, 100);
    font-size: 18px;
    font-style: bold;
    font-weight: 700; 
    flex: content;
    margin-bottom: 2px;
    margin-top: 2px;
}
#header li{
    display: inline-block;
    padding: 8px 10px;
}
.menu{
    display: flex;
    background-color: rgb(233, 236, 236);
    margin-bottom: 20px;
}
.sticky{
    position: fixed;
    top: 0;
    width: 100%;
}

#logo{
    height: 30px;
    width: 75px;
    margin-left: 20px;
    margin-bottom: 2px;
    margin-top: 2px;
}
/* ---------    search section ------    */
.search-bar {
    text-align: center;
    margin: 3rem 0;
}

.search-input {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    border: 2px solid #007BFF;
    border-radius: 25px;
    font-size: 16px;
}
/* ---------   card grid section ------    */
.main-content {
    
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.category-card {
    align-items: center;
    background: rgb(240, 240, 240);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid teal;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 24px;
    margin-bottom: 1rem;
    /* New centering styles */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: white;
}


/* ---------  for  button  ------    */
  
.btn-grid{
    text-align: center;
    display: inline-block;
    width: auto;
}
button{
    color: teal;
    background-color: #eff0f0ff;
    border-radius: 5px;
    border: solid 2px #017272ff;
    height: 40px;
    width: 250px;
    font-size: 16px;
    font-weight: 700;
    margin: 8px;
    padding: 0px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

a{
    text-decoration: none;
}

button:hover{
    border-color: rgb(9, 165, 165);
    transition: 0.3s;
    box-shadow: 0 0 10px 0 #ccc;
    transform: scale(1.03);
}
.find {
    width: auto;
    text-align: center;
    align-items: center;
}
.findbtn1 {
    background-color: rgb(0, 0, 255);
    color: white;
    width: auto;
    height: 70px;
    padding: 20px;
}
.findbtn2 {
    width: auto;
    padding: 20px;
    height: 70px;
}

#div2{
    margin-left: 30px;  
}

#div3{
    margin-top: 25px;
    margin-left: 20px;
    padding: 10px;
    height: auto;
    width: 250px;
    border: solid 1px rgb(247, 105, 23);
    border-radius: 7px;
    text-align: left;
}

#content{
    margin: 1rem;
    padding: 30px;
    width: auto;
    text-align: justify;
    word-spacing: 2px;
}

h1{
    text-align: left;
    color: teal;
    margin-bottom: 10px;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}
h2, h3{
    text-align: left;
    color: rgb(3, 97, 97);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}

label{
    font-weight: bold;
    color: rgb(0, 105, 105);
    display: block;
    margin: 5px 0 5px;  
}

input {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
p{
    font-size: 16px;
    color: rgb(36, 36, 36);
    font-weight: 400;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/*  -----------footer section---------------------*/

.footer-section{
    
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: auto;
    width: 100%;
    background-color: rgb(87, 85, 85);
    margin-top: 20px;
}
.footer-div{
    text-align: center;
    width: 25%;  
}
.footer-h2{
    color: white;
    text-align: center;
    margin: 10px 80px;
    font-size: 18px;
}
.footer-p{
    color: white;
    text-align: center;
    
}
.footer-p a{
    color: white;
}
.bottom-footer{
    background-color: rgb(2, 104, 104);
    text-align: center;
    margin-top: -17px;
    width: 100%;
    
}
.bottom-footer p{
    color: white;
    padding: 7px 0px;
    font-family: 'Courier New', Courier, monospace;
}
/* ----------------------------Accordion Styles---------------------- */


.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #007BFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e1e1e1;
}

.accordion-header::after {
    content: "+";
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    content: "-";
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust based on content */
    padding: 15px;
}
.faq{
    line-height: 25px;
}


/*  ------------------media query---------------------------------------------*/


/*  ------------------media query---------------------------------------------*/

@media (max-width: 480px) {
    body{
        margin: 0px;
    }
    #header{
        text-align: right;
        background-color: rgb(233, 236, 236);
        color: rgb(20, 100, 100);
        font-size: 16px;
        flex: content;
    }
    .btn-grid{
        margin: 0px;
    }
    .main-content {
        margin: 15px;  
    }
    .category-icon {
        display: none;
    }
    .category-p{
        display: none;
    }
    .category-card {
        padding: 10px;
    }

    #div2{
        margin: 10px;
        text-align: left;
        margin-left: 10px;
        margin-right: 20px;
    }
    
    #div3{
       display: none;
    }
    
    button{
        color: #027f7fff;
        background-color: #eff0f0ff;
        border-radius: 5px;
        border: solid 2px #017272ff;
        height: auto;
        width: 100%;
        font-size: 16px;
        padding: 10px 30px;
        text-align: center;
    }
    
    button:hover{
        border-color: #EF6FF5;
        transition: 0.3s;
        box-shadow: 0 0 60px 0 #ccc;
        transform: scale(1.03);
    }
    /*
    #home-content{
        margin: 10px 20px;
        padding: 10px;
        width: auto;
    }
        */
    #home-content p{
        font-size: 16px;
    }
    h2{
        margin-top: 10px;
        font-size: 18px;
        text-align: center;
        color: rgb(3, 97, 97);
    }
    p{
        font-size: 16px;
        color: rgb(36, 36, 36);
        font-weight: 400;
        line-height: 1.5;
    }
    h3{
        margin-top: 10px;
        font-size: 18px;
        color: rgb(3, 97, 97); 
    }
    #content{
        text-align: left;
        font-size: 18px;
        word-spacing: 2px;
        font-family: Arial, Helvetica, sans-serif;
        margin-top: 15px;
        margin: 5px 5px;
    }
    #header {
        display: none;
    }
    .footer-div1 {
        display: none;
    }

}
/* -------------------------------------------SIP calculator CSS code------------------------------------- */
ul{
    line-height: 25px;
    font-size: 20px;
}
ol{
    line-height: 25px;
    font-size: 20px;
}



/* -------------------------------------------cagr calculator CSS code------------------------------------- */

/*  -------------------------- Age calculator ---------------------------------------*/




/* ------------------ footer media query----------------------------*/

@media (max-width: 480px) {
    .footer-section{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        height: auto;
        width: 100%;
        background-color: rgb(87, 85, 85);
    }
    .footer-div{
       
        text-align: center;
        width: 25%;  
    }
    .footer-h2{
        color: white;
        text-align: center;
        margin: 10px 20px;
        font-size: 18px;
        text-decoration: none;
    }
}

/* Responsive Styles */
@media (max-width: 600px) {
    .accordion-header {
        padding: 10px;
        font-size: 14px;
    }

    .accordion-content {
        font-size: 14px;
    }
}
