/*
Theme Name: Quanta Sciences
Theme URI: http://localhost/quanta-sciences/
Author: Green Cubes
Author URI: http://localhost/quanta-sciences/
Description: Custom theme Quanta Sciences
Version: 1.0
*/



.whatsapp-sticky img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 20;
}

.header-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.header-links a {
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  width: 100% !important;
}

/* Submenu */
.header-links ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  width: max-content;
}

.header-links li:hover>ul.sub-menu {
  display: block;
}

.header-links li.current-menu-item>a,
.header-links li.current-menu-parent>a,
.header-links li.current-menu-ancestor>a {
  color: #4499DD;
  font-weight: bold;
}

.dropdown-link::before {
  width: 25px;
  top: 16px;
}


.header-links ul.sub-menu li a:hover {
  background-color: #4499DD;
  color: #fff;
}

.products-inner h3 a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #1F2937;
}

.products-inner h3 img{
        object-fit: contain;
}

.features-right h3 a {
padding: 0;
    border-radius: 0;
    margin-top: 0;
    height: unset;
        width: unset;
    font-size: unset;
    line-height: unset;
    font-family: unset;
    font-weight: unset;
    display: block;
}

.features-right h3 a:hover{
    background:unset !important;
    color: inherit;
}



/*FAQs*/

.faq-main {
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.faq-main h2 {
    font-size: var(--heading3-size);
    line-height: var(--heading3-height);
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 25px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f1f1f1;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e2e2e2;
}

.faq-answer {
    padding: 15px 20px;
    display: none; /* hidden initially */
    background: #fff;
    color: #555;
}




/*contact us page*/

.contact-main {
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.contact-main h2 {
     font-size: var(--heading3-size);
    line-height: var(--heading3-height);
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.info-box {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.info-box h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary);
}

.info-box p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.contact-form {
    flex: 1;
    min-width: 250px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary);
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .wpcf7-submit {
    padding: 12px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-info .info-box a {
    color: #555;        /* Link color */
    text-decoration: none; /* Remove underline */
}


/*.contact-form button:hover {*/
/*    background:  #fff;*/
/*    color: var(--secondary); */
/*}*/



.footer-links {
    width: 31% !important;
        margin-left: 260px;
}
.footer-block ul li span i {
    font-size: 14px;      /* icon size */
    margin-right: 10px;   /* space between icon and text */
    vertical-align: middle; /* aligns icon with text */
     color: var(--secondary);      
}
.insights-ai-right p + p {
  margin-top: 30px; 
}
.investors-main.terms .about-quanta p {
    max-width: unset;
}

.case-studies-block {
    width: 100% !important;
}

.page-template-archive-products .breadcrumbs-bg
{
    height: 200px !important;
}

.page-template-technology .breadcrumbs-bg {
    height: 200px !important;
}

.page-template-about-us .insights-ai-flex.technology.about .insights-ai-left {
    width: 35% !important;
}
.page-template-about-us .insights-ai-flex.technology.about .insights-ai-right {
    width: 65% !important;
}
.page-template-about-us .insights-ai-main.technology.about {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
}

.page-template-about-us .products-main {
    padding-top: 50px !important;
    padding-bottom: 0px !important;
}
.page-template-about-us .our-team-main {
    padding-top: 38px !important;
    padding-bottom: 0px !important;
}

.page-template-about-us .nav-flex {
    margin-top: 25px !important;
}
.page-template-about-us .case-studies-heading.team {
    margin-bottom: 12px !important;
}

.tech-btn{
    transition:.3s;
}

.tech-btn:hover{
    padding:0px 15px !important;
}

/*10/11*/
/*.insights-ai-main.technology {*/
/*    margin-top: 20px !important;*/
/*}*/
/*.insights-ai-flex{*/
/*    align-items: top !important;*/
/*}*/

.insights-ai-main.technology {
    margin-top: 20px !important;
}

.investors-main.terms p{
        font-size: var(--medium-size);
    /*line-height: var(--medium-height);*/
}
.investors-main p{
    line-height:25px;
    margin-top:10px;
}
.investors-main.terms .about-quanta p:nth-child(2) {
    margin-top: 10px;
}
.investors-main.terms .about-quanta {
    padding-left: 0;
    padding-right: 0;
}

.insights-ai-flex.about {
    align-items: flex-start;
}

.investors-main .container-main {
    max-width: 880px;
    padding:0;
}

/* Responsive */

@media(max-width:1440px){
    .footer-links {
        margin-left: 240px;
    }
}

@media(max-width:1150px){
    .footer-links {
        margin-left: 213px;
    }
}

@media(max-width:1024px){
    .footer-links {
        margin-left: 190px;
    }
}

@media(max-width:991px){
	.mob-header .nav-link{
		width: max-content;
	}
	
    ul.sub-menu.dropdown-menu.show {
        margin: 0;
    }
    ul.sub-menu.dropdown-menu.show li a{
        font-size: 14px;
        border-bottom: 1px solid rgb(160 159 159 / 100%);
        padding: 10px;
		width: 100% !important;
		
    }
    ul.sub-menu.dropdown-menu.show li:last-child a {
        border-bottom: 0;
    }
    .page-template-about-us .products-main.about.a-mission
    {
            padding-top: 150px !important;
    }
    .page-template-about-us .products-main{
            padding-bottom: 0px !important;
    }
    .footer-links {
        margin-left: 180px;
    }
    .investors-main .container-main{
        padding:0px 20px;
    }
}

@media screen and (max-width: 850px){
    .page-template-about-us .insights-ai-flex.technology.about .insights-ai-right,
    .page-template-about-us .insights-ai-flex.technology.about .insights-ai-left{
    width: 100% !important;
}
    .footer-links {
        margin-left: 0;
        width: 100% !important;
        justify-content: unset;
        gap: 60px;
    }
}


@media screen and (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .faq-main h2 { font-size: 22px; }
    .faq-question { font-size: 15px; }
    .faq-answer { font-size: 14px; }
    
        .page-template-about-us .products-main.about.a-mission {
        padding-top: 130px !important;
    }
        .page-template-about-us .products-main {
        padding-bottom: 0px !important;
    }
    .page-template-about-us .insights-ai-main.technology.about{
            padding-bottom: 50px !important;
    }
    .footer-links {
        gap: 0px;
    }
}



