html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh; 
}

.blogPage img {
    opacity: 0;
    transition: opacity 0.3s;
}
.blogPage img.loaded {
    opacity: 1;
}



/* Text size */

/* font size 64px */
.fontSize64px{
    font-size: 4rem;
}

/* font size 32px */
.fontSize32px{
    font-size: 2rem;
}


/* font size 24px */
.fontSize24px{
    font-size: 1.5rem;
}

/* font size 20.8px */
.fontSize20px{
    font-size: 1.3rem;
}

/* font size 16px */
.fontSize16px{
    font-size: 1rem;
}

.fontSize14px{
    font-size: 0.9rem;
}

.mainPageContent{
     max-width: 870px; 
     width: 100%;
}

.allContent{
     display: flex;
     flex-direction: column;
     align-items: center;
     height: auto;
     min-height: 424px;
}


.blogPage{
    display: none;
}


#advance-search {
     margin-top: 120px;
}


    .mainTitle {
        display: flex;
        flex-direction: column;
        align-items: start;
        height: auto;
        margin: 0px !important;
        padding: 0px !important;
        line-height: 1 !important;
        color: #fff;
        margin-top: -65px !important;
        width: 100%;
    }

    .width1440{
        max-width: 1440px;
    }

    .textCenter{
        text-align: center;
    }

    .maxWidth{
    max-width: 1920px;
    width: 100%;
    }

    .marginWidth{
        margin: 0 100px 0 100px;
    }

    .montserrat{
        font-family: 'Montserrat', Arial, Helvetica, sans-serif;;
        margin: 0;
        text-align: center;
    }

    .opensans{
         font-family: 'OpenSans', sans-serif;
     }

    .pYellow{
        color: #ffb718;
    }

    .welcoming{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        
    }

    .titleText {
        font-weight: 600;
        color: #fff;
        filter: drop-shadow(0px 10px 4px rgba(0,0,0,0.5));
        line-height: 1.2;
        margin: 0 30px 30px 30px;
    }

    .welcoming p{
        font-family: 'montserrat', Arial, Helvetica, sans-serif;
        font-weight: 400 !important;
        line-height: 1.2;
        margin: 0;
    }



.gdtf-banner {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 300px; /* Ensure space while loading */
    
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
    overflow: hidden;
    margin-top: 27px;
    /* border-top: 1px solid #484848; */
    
    /* Fallback color while image loads */
    background-color: #222;
}

.gdtf-banner-image {
    position: absolute;
    width: 100%;
    height: clamp(60px, 18vw, 250px);
    object-fit: cover;
    z-index: 1;
    
    /* Fade-in effect */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gdtf-banner-image.loaded {
    opacity: 1;
}

.gdtf-overlay {
    position: absolute;
    width: 100%;
    height: clamp(60px, 18vw, 250px);
    z-index: 2;
    
    /* Your gradient overlay */
    /* background: linear-gradient(to top, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,.5) 30%, 
        transparent 100%
    ); */
    
    /* Alternative stronger overlay if needed */
    background: linear-gradient(to top, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,.5) 30%, 
        rgba(34,34,34,0.9) 80%, 
        #222 100%
    );
}

.gdtf-text {
    position: relative;
    z-index: 3; /* Above overlay */
    
    font-weight: 800;
    color: #fff;
    margin: 0;
    font-size: clamp(60px, 18vw, 250px);
    line-height: .75;
    letter-spacing: 5px;
    padding-top: clamp(10px, 10vw, 60px);
    
    background: linear-gradient(
        0deg,
        #111 0%,
        #FFFFFF 40%,
        #FFFFFF 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}









.blogArticles{
    display: flex;
    width: 100%;
    background-color: #F5F5F7;
    color: #1D1D1F
}

.professionalTool{
    display: flex;
    width: 100%;
    background-color: #222;
    color: #f5f5f7
}

.faqsSupport{
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px; /* Adjust as needed */
    
    /* Fallback background while image loads */
    background-color: #f5f5f7;
    color: #1D1D1F;
}

.faqs-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.faqs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(rgba(245, 245, 247, 0.7), rgba(245, 245, 247, 0.7));
}

.faqsContent {
    position: relative;
    z-index: 3; 
}

.centeredContent{
    justify-content: center;
}





.semiTitles {
    display: flex;
    width: 100%;
    align-items: start;
    margin-top: 60px;
    font-weight: bold;
    text-align: start;
    margin-bottom: clamp(10px, 15vw, 65px);;
}







.displayRow{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    gap: 30px;
}

.displayRow img{
    width: 50%;
    height: 100%;
    object-fit: cover
}

.toolWidth{
    display: flex;
    justify-content: center;
    width: 100%;
}


.toolText{
    max-width: 500px;
    width: 100%;
}

.toolTextLeft{
    margin-left: 30px;
}

.toolTextRight{
    margin-right: 30px;
}

.toolText h3{
    text-align: start;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
}

.toolText p{
    text-align: start;
    font-weight: 400;
    line-height: 1.2;
}

.comparisonTool img {
    -webkit-mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
}

.photometricTool img {

     border-radius: 20px;
    
    -webkit-mask-image: linear-gradient(to left, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(to left, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
}

.libraryTool img {

    border-radius: 20px;

    -webkit-mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
}

.searchTool img {
    -webkit-mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(to top, 
        transparent 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,1) 100%
    );
}


.fsContent{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    margin-bottom: 10vh;
    gap: 20px;
}

.feedback{
    width: 100%;
    max-width: 500px;
}


.feedbackMargin{
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: start;
    border: #aaa solid 1px;
    height: auto;
    border-radius: 15px;
    padding: 30px 50px;
    margin-top: 55px;
}

.feedbackMargin h4{
     margin-bottom: 12px;
}

.feedbackMargin span{
     margin-bottom: 32px;
}

.fbInput{
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: start;
}


.fbInput{
     margin-bottom: 18px;
}

.fbInput label{
     margin-bottom: 4px;
}

.fbInput input, .fbInput select, .fbInput textarea{
     font-family: 'OpenSans', sans-serif;
     padding: 12px;
     border-radius: 6px;
     border: 1px #aaa solid;
     transition: border-color 0.3s ease, box-shadow 0.3s ease;
     
}

.fbInput input:focus, 
.fbInput select:focus, 
.fbInput textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.fbInput select{
     cursor: pointer;
}

.fbInput select option {
     cursor: pointer;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
}

.fbSubmitBtn{
     width: 100%;
}

.fbSubmitBtn button{
     color: #fff;
     font-weight: 500;
     padding: 10px 30px;
     border-radius: 24px;
     background-color: #ffb718;
     border: none;
     cursor: pointer;
}

.fbSubmitBtn button:hover{
     background-color: #ffc618;
}




.accordion2 h4{
    margin-bottom: 24px;
    font-weight: 500;
}

/* Style for the accordion container */
.accordion2 {
  width: 100%;
  max-width: 600px;
}

.accordion-title2 {
  display: block;
  text-align: center;
  margin-bottom: 35px;
}

/* Style for each accordion item */
.accordion-item2 {
  margin-bottom: 10px;
  line-height: normal;
}

/* Style for the accordion headers */
.accordion-header2 {
    display: flex;
    align-items: center;
  background-color: #fff;
  padding: 15px 25px;
  text-align: left;
  min-height: 85px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  border: 1px solid #aaa;
  color: #222;
  gap: 10px;
  border-radius: 5px;
}
.accordion-header2 label{
    cursor: pointer;
    width: 100%;
}

.accordion-header2 span {
    transition: all 0.5s;
    text-align: end;
}

/* Hover effect for accordion headers */
.accordion-header2:hover {
    background-color: #e1e1e1;
    color: #000;
}

/* Style for the accordion content */
.accordion-content2 {
    font-family: 'OpenSans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    padding: 0 15px;
    background-color: #fafafa;
    max-height: 0; /* Initially hidden */
    overflow: hidden; /* Hide content */
    transition: max-height 0.5s ease-out; /* Smooth transition for expand/collapse */
    border-radius: 0 0 5px 5px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-content2 p{
    padding: 10px 5px;
}

/* When the section is active, expand the content */
.accordion-item2.active {
  background-color: transparent;
}
.accordion-item2.active .accordion-content2 {
  max-height: 200px; /* Arbitrary max height, can be adjusted */
}

/* Optional: To make the accordion look more elegant, add a shadow to expanded items */
.accordion-item2.active .accordion-header2 {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #000;
  border-radius: 5px 5px 0 0;
}

.accordion-item2.active .accordion-header2 span {
  transform: rotate(45deg);
}

/* Optional: To make the accordion look more elegant, add a shadow to expanded items */
.accordion-item2.active .accordion-header2 {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #000;
  border-radius: 5px 5px 0 0;
  border: 1px solid #aaa;
}









.loading-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Blog Cards Grid */
.blogCardParent{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.blogCards {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 3fr));
    gap: 30px;
    margin: 30px 50px 50px 50px;
    max-width: 1200px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    transition: transform 0.5s ease;
    background-color: #fafafa; /* Background color for empty space */
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px;
}

.blog-date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-weight: 700;
    margin: 0px;
    line-height: 1.4;
    color: #333;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: flex;
    align-items: center;
    color: #667eea;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more {
    transform: translateX(5px);
    text-decoration: underline;
}

/* Error States */
.blog-error, .no-posts {
    text-align: center;
    padding: 60px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.blog-error h4, .no-posts h4 {
    color: #333;
    margin: 15px 0 10px;
}

.blog-error p, .no-posts p {
    color: #666;
    margin-bottom: 20px;
}

.retry-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.retry-btn:hover {
    background: #5a6fd8;
}

.error-icon, .no-posts-icon {
    opacity: 0.7;
}

.show-more-container{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.show-more-container button {
    padding: 15px 30px;
    border-radius: 24px;
    background-color: #ffb718;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.show-more-container button:hover{
    background-color: #ffc618;
}



/* Responsive Design */
@media (max-width: 1440px) {
    .blogCards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
    gap: 30px;
    margin: 30px 0px 50px 0px
    }

}

@media (max-width: 1024px) {

    /* Text size */

    .fontSize64px{
        font-size: 3rem;
    }

    /* font size 32px */
    .fontSize32px{
        font-size: 1.5rem;
    }


    /* font size 24px */
    .fontSize24px{
        font-size: 1.3rem;
    }

    /* font size 20.8px */
    .fontSize20px{
        font-size: 1rem;
    }

    /* font size 16px */
    .fontSize16px{
        font-size: 0.9rem;
    }

    .fontSize14px{
        font-size: 0.8rem;
    }


    .gdtf-banner{
        margin-top: 150px;
    }

    .feedbackMargin {
    border-radius: 15px;
    padding: 20px 30px;
    margin-top: 48px;
    }

    .feedbackMargin h4 {
    margin-top: 10px;
    }

    .feedbackMargin span {
    margin-bottom: 24px;
}



    .blogCards {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 0;
    }

    
    .semiTitles {
        text-align: center;
        text-align: start;
    }

    .blogMainTitle {
        margin: 40px 0
    }
}

@media (max-width: 900px)  {
    .feedbackMargin{
        margin-top: 72px;
    }
}


@media (max-width: 768px) {

    .feedbackMargin {
    padding: 20px 25px;
    margin-top: 72px;
    }

    .gdtf-banner{
        margin-top: 53px;
    }

    .marginWidth{
        margin: 0 50px 0 50px;
    }

    .fontSize24px {
        font-size: 1.1rem;
    }
}

@media (max-width: 675px) {
        .blogCards {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        margin-left: 20px;
        margin-right: 20px;
    }

}

@media (max-width: 480px) {


        /* Text size */

    .fontSize64px{
        font-size: 1.9rem;
    }

    /* font size 32px */
    .fontSize32px{
        font-size: 1.3rem;
    }


    /* font size 24px */
    .fontSize24px{
        font-size: 1.1rem;
    }

    /* font size 20.8px */
    .fontSize20px{
        font-size: 1rem;
    }

    /* font size 16px */
    .fontSize16px{
        font-size: 0.9rem;
    }

    .fontSize14px{
        font-size: 0.8rem;
    }


    .toolContent {
        overflow: hidden;
    }
    .displayRow{
        display: flex;
        width: 100%;
        position: relative;
        margin-bottom: 100px;
    }

    .displayRow img{
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    bottom: -80px;
    right: -50px;
    overflow: none;
    }

    .toolWidth {
    width: 100%; /* Make the parent container full width */
    max-width: 365px;
}

.toolText {
    display: flex;
    position: relative;
    flex-direction: column;
    z-index: 2;
    background: rgba(45, 45, 45, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    width: 100%; 
     max-width: 365px;
}


    .toolTextLeft, .toolTextRight{
        margin: 0;
    }

    .toolText h3{
        margin-top: 0;
    }


    .titleText{
        margin: 0 15px;
    }

    .marginWidth{
        margin: 0 30px 0 30px;
    }

    .feedback{
        order: 1;
    }

    .feedbackMargin {
        padding: 20px 25px;
        margin-top: 32px;
    }

    .fsContent{
        flex-direction: column;
    }

    .blog-content {
        padding: 20px;
    }
    
    .semiTitles{
        text-align: start;
    }
    
}




