/*
Theme Name: Hello Elementor Child
Theme URI: https://yourwebsite.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
*/

/* Add your custom CSS below */

main {
  min-height: 500px;
}
body {
  background-color: #fffcf3 !important;
}

.custom-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.custom-form p {
  display: flex;
  gap: 10px;
  align-items: center;
}

.custom-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f3f0ea;
  font-size: 16px;
  outline: none;
}

.custom-form input[type="submit"] {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background-color: #2d2d2d;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.custom-form input[type="submit"]:hover {
  background-color: #000;
}

.custom-form .wpcf7-spinner {
  position: absolute;
  top: 42%;
  right: -74px;
  transform: translateY(-50%);
}

.loop-pagination .page-numbers {
  position: relative;
}
.loop-pagination .page-numbers.next::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 pro";
  font-weight: 500;
  font-size: 18px;
}
.loop-pagination .page-numbers.prev::after {
  content: "\f060";
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 pro";
  font-weight: 500;
  font-size: 18px;
}
.loop-pagination .page-numbers.current {
  background-color: #000;
  color: white !important;
}
.loop-pagination .page-numbers {
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1;
}

/* Each tab/menu item */
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 32px 9px 20px !important;
  font-size: 16px;
  font-weight: 500;
  color: #fff !important;
  background-color: #003162;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 10px 13px 0 0;
  margin: 0;
  position: relative;
  box-shadow: 10px 1px 11px 2px rgb(255 255 255 / 20%);
  z-index: 1;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item a::before {
  border-radius: 10px 0 0 0;
  height: 38px;
  background-color: #003162 !important;
  z-index: 1;
  width: 13px;
  left: -3px;
  box-shadow: none;
  opacity: 1 !important;
  transform: skewX(-3deg);
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item a::after {
  border-radius: 0 10px 0 0;
  height: 38px;
  background-color: #003162 !important;
  transform: skewX(18deg);
  z-index: -1;
  width: 13px;
  right: -3px !important;
  box-shadow: none;
  opacity: 1 !important;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:first-child a:before{background-color: transparent !important;}

/* Nav container alignment */
.header-menu-items .nav-menu-items .elementor-nav-menu {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:nth-child(2) {
  z-index: -1;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:nth-child(3) {
  z-index: -2;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:nth-child(4) {
  z-index: -3;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:nth-child(5) {
  z-index: -4;
}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item:nth-child(6) {
  z-index: -5;
}
.elementor-21 .elementor-element.elementor-element-bd78d58 .elementor-nav-menu--main:not(.elementor-nav-menu--layout-horizontal) .elementor-nav-menu > .menu-item:not(:last-child){margin-bottom: 0;}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item .elementor-item-active::before{background-color: #2b70b5 !important;}

/* .news-layout .elementor-loop-container .loop-item:nth-child(4n+1){grid-area: 1 / 1 / 3 / 2; }
.news-layout .elementor-loop-container .loop-item:nth-child(4n+2){grid-area: 1 / 2 / 2 / 3; }
.news-layout .elementor-loop-container .loop-item:nth-child(4n+3){grid-area: 2 / 2 / 3 / 3; }
.news-layout .elementor-loop-container .loop-item:nth-child(4n+4){grid-area: 3 / 1 / 4 / 2; }
.news-layout .elementor-loop-container .loop-item img{width: 100%; height: auto; object-fit: cover; } */

/* || <-- CSS 03-04-2026 By SS -->|| */
.project-list .elementor-loop-container.elementor-grid .e-loop-item{}
.project-list .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(even) .project-post-item-grid > div:first-child{order:2}
.project-list .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(even) .project-post-item-grid > div:last-child{order:1}

.project-post-item {
  margin: 0 0 120px;
}
.project-post-item .project-post-item-title {
}
.project-post-item .project-post-item-grid {
}
.project-post-item .project-post-item-description {
}
.project-post-item .project-post-item-image {
  width: 100%;
  height: auto;
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}
.project-post-item .project-post-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-members {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));gap: 60px;}
.project-members .member-item{position: relative;background-color: #ffffff;padding: 32px 32px;border: 1px solid rgba(0, 0, 0, 0.1);border-radius: 12px;}
.project-members .member-item .member-image{width: 200px; aspect-ratio: 1/1; flex-shrink: 0; display: flex;}
.project-members .member-item .member-image img{width: 100%; height: 100%; object-fit: cover;}
.project-members .member-item .member-info{margin: 32px 0 0;}
.project-members .member-item .member-name{margin: 0 0 12px;font-size: 24px;font-weight: 600;font-family: 'Roboto', sans-serif;color: #2c2c2c;}
.project-members .member-item .member-description{font-weight: 400;font-family: 'Roboto', sans-serif;font-size: 16px;line-height: 1.7em;color: #2c2c2c;}

.custom-gallery .elementor-loop-container.elementor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    row-gap: 20px;
    column-gap: 32px;
}
/* 
.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item{
  display: flex;
} */
.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 1) {
  grid-area: span 2 / span 2;
}

.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 2),
.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 3),
.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 5),
.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 6) {
  grid-area: span 1 / span 1;
}

.custom-gallery .elementor-loop-container.elementor-grid .e-loop-item:nth-of-type(6n + 4) {
  grid-area: span 2 / span 2;
}

.custom-gallery .elementor-loop-container.elementor-grid .single-gallery-item{display: flex; flex-direction: column;}
.custom-gallery .elementor-loop-container.elementor-grid .single-gallery-item .single-gallery-item-image{overflow: hidden;border-radius: 20px;flex-shrink: 1; flex-grow: 1;}
.custom-gallery .elementor-loop-container.elementor-grid .single-gallery-item .single-gallery-item-image img{width: 100%;height: 100%;object-fit: cover;}
.custom-gallery .elementor-loop-container.elementor-grid .single-gallery-item .single-gallery-item-title{flex-shrink: 0;}

.wpcf7-not-valid-tip{font-size: 0.8em;}
.custom-form .wpcf7-spinner{top: 53%; right: 0;}
.wpcf7 form .wpcf7-response-output{font-size: 12px; text-align: center;}
.custom-form .wpcf7-spinner{top: 106%; right: 0;}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item .elementor-item-active{background-color: #2b70b5;}
.header-menu-items .nav-menu-items .elementor-nav-menu .menu-item .elementor-item-active::after{background-color: #2b70b5 !important;}

@media screen and (max-width: 1024px) {
  .header-menu-items .nav-menu-items .elementor-nav-menu .menu-item{width: 100%;}
  .header-menu-items .nav-menu-items .elementor-nav-menu .menu-item a{font-size: 12px; border-radius: 0;}
  .project-members{grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px}
}
@media screen and (max-width: 880px) {
  .header-menu-items .nav-menu-items .elementor-nav-menu{gap: 15px; padding: 0 15px; background-color: #003162; flex-direction: column; align-items: flex-start;}
  .header-menu-items .nav-menu-items .elementor-nav-menu .menu-item a{font-size: 16px; box-shadow: none;}
  .elementor-nav-menu--dropdown{background-color: transparent !important;}
  .header-menu-items .elementor-nav-menu--dropdown{margin-top: 44px !important;}
  header{position: sticky; top: 0; background-color: #fcfcfc; z-index: 3; height: 120px;}
}
@media screen and (max-width: 480px){
  .header-menu-items .elementor-nav-menu--dropdown{margin-top: 20px !important;}
  header{height: 80px;}
  .project-members{grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 20px}
  .custom-gallery .elementor-loop-container.elementor-grid { grid-template-columns: repeat(1, 1fr); row-gap: 20px; column-gap: 32px; }
.custom-gallery .e-loop-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}





/* ── Form wrapper ── */
.submission-form {
    width: 100%;
}

/* ── Form groups ── */
.submission-form .form-group {
    margin-bottom: 20px;
}

/* ── Labels ── */
.submission-form .form-group label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.submission-form p br{display:none;}
.submission-form .form-select {
    padding: 10px 42px 10px 14px;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
     transition: border-color .15s, background .15s !important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px !important;
}

/* hover & focus */
.submission-form .form-select:hover {
    border-color: #5a8fd4;
}

.submission-form .form-select:focus {
    border-color: #5a8fd4;
    background-color: #e6eef9;
}
.submission-form .form-select:active {
    background-color: #e6eef9;
}

/* ── Inputs & Textarea ── */
.submission-form .form-control, .submission-form .form-select {
    width: 100%;
    background: #EEF3FB;
    border: 1px solid #cdd8ee;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #222;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s, background .15s;
}
.submission-form .form-control:focus, .submission-form .form-select:focus{
    border-color: #5a8fd4;
    background: #e6eef9;
}
.submission-form .form-textarea {
    width: 100%;
    background: #EEF3FB;
    border: 1px solid #cdd8ee;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #222;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    max-height: 100px;
	resize:none;
    transition: border-color .15s, background .15s;
}
.submission-form .form-textarea:focus {
    border-color: #5a8fd4;
    background: #e6eef9;
}
.submission-form .form-radio .wpcf7-list-item{margin:0}
.submission-form .form-radio .wpcf7-list-item.first{margin: 0 1rem 0 0;}
/* ── Hide native CF7 file input ── */
.submission-form input[type="file"],
.submission-form .custom-file-wrapper {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ── Upload zone ── */
.submission-form .cf7-upload-zone {
    width: 100%;
    background: #EEF3FB;
    border: 1.5px dashed #b0c4de;
    border-radius: 6px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .15s, background .15s;
}
.submission-form .cf7-upload-zone:hover {
    border-color: #5a8fd4;
    background: #e6eef9;
}
.submission-form .cf7-upload-zone.drag-over {
    border-color: #378ADD;
    background: #dbeafb;
}
.submission-form .cf7-upload-zone.has-file {
    border-style: solid;
    border-color: #1D9E75;
    background: #eaf6f1;
}

/* ── Upload icon ── */
.submission-form .cf7-upload-icon {
    margin-bottom: 10px;
}

/* ── Upload text ── */
.submission-form .cf7-upload-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
}
.submission-form .cf7-upload-sub {
    font-size: 12px;
    color: #888;
    margin: 0 0 14px;
}

/* ── Browse button ── */
.submission-form .cf7-browse-btn {
    display: inline-block;
    padding: 8px 22px;
    background: #fff;
    border: 1px solid #b0c4de;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    pointer-events: none;
}
.submission-form .cf7-upload-zone:hover .cf7-browse-btn {
    border-color: #5a8fd4;
}

/* ── File preview row ── */
.submission-form .cf7-file-preview {
    display: none;
    align-items: center;
    gap: 10px;
    background: #eaf6f1;
    border: 1px solid #a8ddc8;
    border-radius: 6px;
    padding: 9px 14px;
    margin-top: 8px;
    box-sizing: border-box;
}
.submission-form .cf7-file-preview.show {
    display: flex;
}
.submission-form .cf7-file-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #1a6647;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.submission-form .cf7-file-size {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}
.submission-form .cf7-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}
.submission-form .cf7-remove-btn:hover {
    background-color: transparent;
	    color: #000;
}

/* ── Error message ── */
.submission-form .cf7-error {
    display: none;
     color: #dc3232;
    font-size: 0.8em;
    font-weight: normal;
}
.submission-form .cf7-error.show {
    display: block;
}

/* ── Submit button ── */
.submission-form .form-action {
    margin-top: 24px;
	position:relative;
}
.submission-form .btn-action {
    display: inline-block;
    padding: 11px 32px;
    background: #1a3a6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
	width:100%;
    transition: background .15s;
}
.submission-form .btn-action:hover {
    background: #14305a;
}
.submission-form  .wpcf7-not-valid-tip{position:relative;}
.submission-form .wpcf7-spinner{position: absolute; right: 38%; margin: 0; top: 14px;background-color: #095cd3; opacity: 1;}
.submission-form .cf7-upload-zone.error-border {
    border-color: #c00 !important;
    background: #fff5f5;
}

.submission-form .or-divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.submission-form .or-divider span {
    background: #fff;
    padding: 0 12px;
    font-weight: 600;
    color: #666;
    position: relative;
    z-index: 1;
}

.submission-form .or-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 0;
}
.submission-form  .ai-disclosure-wrap {
    transition: all 0.3s ease;
}
@media only screen and (max-width: 480px){
	.submission-form .wpcf7-spinner{right: 32%;}
}
