/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */









.cqf-field {
    margin-bottom: 18px;
}
.cqf-field label {
    margin-bottom: 10px;
    display: block;
}
.cqf-field textarea {
    display: block;
    resize: none;
    max-height: 120px;
}
.cqf-submit-btn {
    margin-top: 40px;
}
.cqf-submit-btn input {
    display: block;
    margin: 0 auto;
    font-size: 18px;
    padding: 12px 25px;
    width: 100%;
}
.cqf-grid {
    display: grid;
    grid-gap: 18px;
}
.cqf-grid-2 {
    grid-template-columns: 1fr 1fr;
}
.cqf-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.cqf-grid .cqf-field {
    margin-bottom: 0;
}

.clients-query-form .cqf-field input,
.clients-query-form .cqf-field textarea {
    border-radius: 10px !important;
    border-color: #142F4C85;
    padding: 1rem 1rem;
}
.clients-query-form .cqf-field input::placeholder,
.clients-query-form .cqf-field textarea::placeholder {
    color: #142F4C;
}
.cqf-submit-btn input {
    background-color: #142F4C !important;
    text-transform: uppercase;
}

#align-points ul,
#align-points ol {
    padding-left: 18px;
}


/* NEW CSS */

.is-scrolled {
    background-color: #142F4C !important;
}
nav button.elementskit-menu-hamburger svg {
    fill: white;
}
nav button.elementskit-menu-close.elementskit-menu-toggler {
    color: white !important;
}

.current_post_term {
    color: white;
}

/* Events IPS Layout */


.events-ips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.events-ips-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.events-ips-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.events-ips-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.events-ips-title {
    margin-bottom: 10px;
    font-weight: 600;
    color: #142F4C !important;
}

.events-ips-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #142F4C;
}

.events-ips-btn {
    background: #28a745;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 14px;
    background-color: transparent;
    text-decoration: none;
    background-image: linear-gradient(70deg, #2DBE60 0%, #15582C 100%);
    display: block;
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Events Single */

/*.single-events-ips,*/
/*.single-event {*/
/*    margin-top: 120px;*/
/*}*/
.single-events-ips main#content,
.single-event main#content,
.single-case-study main#content {
    margin-top: 50px;
    margin-bottom: 50px;
}


/* EVENTS */

.ct-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}
.ct-events-grid .event-card {
    display: block;
    text-decoration: none;
}
.ct-events-grid img {
    display: block;
}
.ct-events-grid .event-card__content {
    background-color: #142F4C;
    padding: 12px 16px;
    border-radius: 0px 0px 5px 5px;
    margin-top: -1px;
}
.event-card__content h5 {
    margin: 0;
    color: white;
    font-size: 18px;
    line-height: normal;
}
.event-card__content span {
    display: block;
    color: white;
    font-size: 15px;
}

/* CASE STUDIES */

/* Wrapper */
.cs-listing {
    margin: 60px 0;
}

/* Tabs */
.cs-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.cs-tab {
    padding: 10px 22px;
    border-radius: 6px;
    background: white !important;
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #142F4C !important;
}

.cs-tab:hover, .cs-tab.is-active {
    color: #fff !important;
    background: linear-gradient(90deg, #2F6FB2 0%, #142F4C 100%) !important;
}

/* Grid */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card */
.cs-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.cs-card a {
    text-decoration: none !important;
}

.cs-card__link {
    display: block;
    height: 100%;
    text-decoration: none !important;
}

/* Image */
.cs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.cs-card__content {
    padding: 24px;
}

.cs-card__title {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
}

.cs-card__info {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}




/* POST TYPES SINGLE */

.customised-template {
    display: flex;
    gap: 40px;
}
.customised-template .page-content {
    flex: 1;
}
.customised-template .ct-sidebar {
    width: 100%;
    max-width: 300px;
}

.recent-posts-block {
    background: #ffffff;             
    border: 1px solid #e0e0e0;      
    border-radius: 8px;              
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.recent-posts-title {
    font-size: 1.5rem !important;
    margin-bottom: 15px;
    color: #222222 !important;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
}

.recent-posts-list li a {
    text-decoration: none;
    font-size: 15px;
    color: #222 !important;
    font-weight: 400;
    display: inline-block;
    position: relative;
}


/* MULTIPLE FORMS PAGE + TABS */

/* Clean, minimal, neutral — CF7 scoped */

.cf7-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  color: #111;
}

/* Section titles */
.cf7-section-title {
  margin: 36px 0 14px;
  font-size: 22px !important;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Field wrapper */
.cf7-field {
  margin-bottom: 18px;
}

/* Labels */
.cf7-label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #333 !important;
}

/* Inputs / Selects / Textarea */
.cf7-input,
.cf7-select,
.cf7-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #111;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf7-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus state */
.cf7-input:focus,
.cf7-select:focus,
.cf7-textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Multiple select */
.cf7-select[multiple] {
  min-height: 120px;
}

/* Checkbox / Radio groups */
.cf7-checkbox,
.cf7-radio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.cf7-checkbox label,
.cf7-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #222;
  cursor: pointer;
}

/* Native checkbox / radio */
.cf7-checkbox input,
.cf7-radio input {
  accent-color: #111;
}

.cf7-checkbox .wpcf7-list-item,
.cf7-radio .wpcf7-list-item {
    margin-left: 0;
}

/* Submit */
.cf7-submit-wrap {
  margin-top: 40px;
}

.cf7-submit {
  appearance: none;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cf7-submit:hover {
  background: #000;
}

.cf7-submit:active {
  transform: translateY(1px);
}

/* CF7 validation */
.wpcf7-not-valid {
  border-color: #d32f2f;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
}

/* CF7 response message */
.wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  font-size: 13px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
  .cf7-section-title {
    font-size: 20px;
  }

  .cf7-checkbox,
  .cf7-radio {
    grid-template-columns: 1fr;
  }
}










/* Responsive */
@media (max-width: 768px) {
    .cs-grid {
        grid-template-columns: 1fr;
    }
}


button.elementskit-menu-hamburger.elementskit-menu-toggler {
    background-color: transparent !important;
}


.no_underline h4.elementor-image-box-title a {
    text-decoration: none !important;
}



/* ARCHIVE + PROJECTS */

h1.archive-title {
    color: white;
}

.project-wrapper {
    margin: 60px auto;
    max-width: 1220px;
}
h2.project-heading {
    margin-bottom: 30px;
    color: black;
}

/* Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.project-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Image */
.project-thumb img,
.single-case-studies .recent-projects-section .project-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.single-case-studies .project-thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Content */
.project-content {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Category */
.project-category {
    margin-bottom: 6px;
}

.project-category a {
    font-size: 12px;
    font-weight: 600;
    color: #142F4C;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Meta */
.project-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

/* Title */
h3.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-title a {
    color: #142F4C;
    text-decoration: none;
}

.project-title a:hover {
    color: black;
}

/* Excerpt */
.project-excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Button (pill style) */
.project-btn {
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    background: #142F4C;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: normal;
}

.project-btn:hover {
    color: #ffffff;
}

/* Pagination */
.project-pagination {
    margin-top: 50px;
    text-align: center;
}

.project-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    font-size: 14px;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    background: #f3f4f6;
}

.project-pagination .current {
    background: #142F4C;
    color: #fff;
}

/* No posts */
.no-projects {
    text-align: center;
    font-size: 18px;
    color: #9ca3af;
    margin-top: 40px;
}

/* Tablet */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .archive-title {
        font-size: 26px;
    }

    .project-thumb img {
        height: 200px;
    }
}


/* PROEJCTS SINGLE */

/* 2-col wrapper */
.project-content-sidebar-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* Left main content */
.project-main-content {
    flex: 2;
}

.project-full-content h2, .project-full-content h3, .project-full-content h4, .project-full-content h5, .project-full-content h6 {
    color: black;
}

/* Sidebar right */
.project-sidebar {
    flex: 1;
    border-left: 1px solid #e5e7eb;
    padding-left: 30px;
}

/* Sidebar heading */
.sidebar-heading {
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 24px;
    color: black !important;
}

/* Sidebar cards (compact style) */
.project-card.sidebar-card {
    display: flex;
    margin-bottom: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.project-card.sidebar-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: none;
}

.sidebar-thumb {
    flex-shrink: 0;
    height: 120px;
    overflow: hidden;
}

.sidebar-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Sidebar content */
.sidebar-content {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

/* Sidebar title */
.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

/* Sidebar meta */
.sidebar-meta {
    font-size: 11px;
    color: #6b7280;
}

/* Meta separator */
.meta-sep {
    margin: 0 6px;
}

/* Main project single card wrapper */
.project-single-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.project-single-card .project-thumb img {
    border-radius: 6px;
    margin-bottom: 20px;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: black !important;
}

.project-full-content {
    font-size: 16px;
    color: #374151;
    line-height: 1.75;
}

/* Full width recent projects grid */
.recent-projects-section {
    margin-top: 40px;
}

.recent-projects-heading {
    font-size: 24px !important;
    font-weight: 700;
    margin-bottom: 28px;
    color: black !important;
}

/* Project grid for recent posts */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}




.single-post .project-thumb img {
    height: auto;
}




/* Responsive */
@media (max-width: 1024px) {
    .project-content-sidebar-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .project-sidebar {
        border-left: none;
        padding-left: 0;
        margin-top: 0;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-thumb img {
        height: 200px;
    }

    .sidebar-thumb {
        width: 80px;
        height: 60px;
    }
}






/*----------------------------- Small Laptop -------------------------------*/
@media only screen and (max-width :1280px) and (min-width: 1101px) {

}

/*----------------------------- Media 1024 -------------------------------*/
@media only screen and (max-width :1100px){
    
    .customised-template {
        flex-wrap: wrap;
    }
    .customised-template .page-content,
    .customised-template .ct-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
}

/*----------------------------- Media 768 -------------------------------*/
@media only screen and (max-width:999px){
    
    .ct-events-grid {
        grid-template-columns: 1fr 1fr;
    }

}

/*----------------------------- Media 480 -------------------------------*/
@media only screen and (max-width:767px){
    
    .cqf-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .cqf-grid-3 .cqf-field:first-child {
        grid-column: 1 / -1;
    }

}

@media only screen and (max-width:599px){
    .ct-events-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width:576px){
    
    .events-ips-grid {
        grid-template-columns: 1fr;
    }
    
}

@media only screen and (max-width:575px){
    
    .cqf-grid-2,
    .cqf-grid-3 {
        grid-template-columns: 1fr;
    }
    
}

/*----------------------------- Media 320 -------------------------------*/
@media only screen and (max-width:479px){

}





