﻿/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Add your custom styles here */
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.096) !important;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000;
    overflow-y: auto; /* Allows scrolling if content is long */
    padding: 20px; /* Adds spacing around the popup */
}

/* Popup Content */
.popup-content {
    background: #00264d;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    position: relative;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out; /* Adds a fade-in effect */
    border-radius: 10px;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #00264d;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9); /* Start smaller */
    }
    to {
        opacity: 1;
        transform: scale(1); /* End at normal size */
    }
}

/* Team Header */
.team-member-details .team-header {
    align-items: center;
    margin-bottom: 20px;
}

.team-member-details .team-header img {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    margin-right: 20px;
}

.team-member-details .team-header h2 {
    font-size: 28px;
    margin: 0;
    color: #ffffff; /* Gold color */
}

.team-member-details .team-header h3 {
    font-size: 20px;
    margin: 5px 0;
    color: #cce7ff;
}

.team-member-details .contact-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #cce7ff;
}

.team-member-details .contact-info a {
    color: #ffcc00;
    text-decoration: none;
}

.team-member-details .contact-info a:hover {
    text-decoration: underline;
}

/* Team Bio */
.team-member-details .team-bio {
    margin-top: 20px;
    font-size: 16px;
    color: #ffffff;
}

.team-member-details .team-bio p {
    line-height: 1.6;
}


/***************PORTFOLIO SECTION********************/

.my-nav ul {
    list-style: none;
    background: #ffffff;
    text-align: left;
    margin: 0; 
    padding: 0; 
}
.my-nav ul li {
    display: inline-block;
    position: relative;
    margin: 0; 
    padding: 0; 
}
.my-nav ul li a {
    display: block;
    padding: 15px 25px;
    color: #1b324e;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}
.my-nav ul li ul.dropdown li {
    display: block;
    background: #ffffff;
    margin: 0; 
    padding: 0; 
}
.my-nav ul li ul.dropdown {
    width: auto;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0; 
    z-index: 999;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    border-radius: 4px; 
    margin: 0; 
    padding: 0; 
}
.my-nav ul li a:hover {
    background: #ffffff;
}
.my-nav ul li:hover ul.dropdown {
    display: block;
}
.my-nav ul li ul.dropdown li a {
    padding: 10px 20px; 
    color: #1b324e;
    text-decoration: none;
    text-align: left;
    margin: 0; 
    display: block;
    
}
.my-nav ul li ul.dropdown li a:hover {
    background: #ffffff; 
    color: #ee8615; 
}

/* .my-nav ul li ul.dropdown li:nth-child(1) a {
    border-bottom: 1px solid #1b324e; 
} */

/* Base styles for the grid container */
   .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0px;
}

.grid-container > div {
    width: 24%; /* Each item takes 25% of the container */
    min-width: 300px; /* Prevents items from becoming too small */
    box-sizing: border-box; /* Ensures padding doesnâ€™t affect width */
}
    /* Box container */
    .four-part {
      position: relative;
      overflow: hidden;
     /* background-color: #f8f9fa;*/
      border-radius: 8px;
      /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
      transition: transform 0.3s ease,  0.3s ease;


    }

    /* Image inside the box */
    .four-part img {
      width: 100%;
      height: auto;
      display: block;

    }

    /* Hover effect for box */
    .four-part:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
    }

    /* Hidden hover content */
    .hover-content {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #132d4e;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transform: translateY(100%);
      transition: all 0.3s ease;
      text-align: center;
      padding: 20px;
    }

    /* Display hover content on hover */
    .four-part:hover .hover-content {
      opacity: 1;
      transform: translateY(0);
    }

    /* Headline style */
    .hover-content h3 {
      margin: 0;
      font-size: 28px;
      font-weight: bold;
    }

    /* Paragraph style */
    .hover-content p {
      margin: 10px 0 0;
      font-size: 16px;
    }

    /* Button style */
    .hover-content a {
      margin-top: 35px;
      padding: 10px 25px;
      font-size: 14px;
      color: #ffffff;
      background-color: transparent;
      border: #ffffff solid 1px;
      text-decoration: none;
      border-radius: 0px !important;
      transition: 0.3s ease;
    }

    /* Button hover effect */
    .hover-content a:hover {
      background-color: transparent;
      border-radius: 50px !important;
      border: #ee8615 solid 1px;
    }

    /* Dropdown menu styling */
    /*.dropdown {*/
    /*  position: absolute;*/
    /*  top: 100%;*/
    /*  left: 0;*/
    /*  width: 100%;*/
    /*  background-color: #ffffff;*/
    /*  border: 1px solid #ddd;*/
    /*  border-radius: 0 0 8px 8px;*/
    /*  opacity: 0;*/
    /*  visibility: hidden;*/
    /*  transform: translateY(-10px);*/
    /*  transition: all 0.3s ease;*/
    /*  z-index: 1000;*/
    /*  padding: 10px;*/
    /*  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    /*}*/

    /* Dropdown visible on hover */
    .four-part:hover .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    /* Dropdown item styles */
    .dropdown-item {
      font-size: 14px;
      padding: 8px 10px;
      color: #333;
      text-decoration: none;
      display: block;
      transition: background-color 0.2s;
    }

    .dropdown-item:hover {
      background-color: #f1f1f1;
    }


    @media(max-width:480px){
        div#portfolio-grid {
            margin-bottom: 272px !important;
        }
    }
    .hover-content p.status{
      text-transform: capitalize;
    }

    #portfolio-grid #loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#portfolio-grid .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#team-member-popup{
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;

}
.fade-in {
    opacity: 1 !important;
}

.fade-out {
    opacity: 0 !important;
}
@media (max-width: 768px) {
  .popup-content{
    width: 100%;
  }
    #team-member-popup {
          width: 100%;
    max-width: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
    border-radius: 10px;
    position: fixed;
    }

    .team-member-details {
        max-height: 80vh;
        overflow-y: auto;
    }

    .team-header h2, 
    .team-header h3 {
        font-size: 18px;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .linkedin-profile img {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }

    .close-popup {
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 20px;
        cursor: pointer;
    }
    .team-member-details .linkedin-profile {
    display: block !important;
}
}
.team-filter {
    text-align: left;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #d1d1d1;
    cursor: pointer;
    border-radius: 5px;
}

.filter-btn.active {
    background-color: #002b5c;
    color: white;
}

.team-member {
    text-align: center;
    display: inline-block;
    margin: 0px;/*margin*/
    cursor: pointer;
}

.team-img img {
   width: 100%;/*image width*/
    border-radius: 5%; /*Border radius change*/
    object-fit: cover;
}
.team-member:hover img{
  opacity: 0.74;
}
.team-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    z-index: 999;
}

.popup-content {
/*     background: #002b5c;
    padding: 20px;
    width: 50%;
    max-width: 720px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px; */
	background: #002b5c;
    padding: 20px;
    width: 50%;
    max-width: 720px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    max-height: 100vh; /* Ensures the popup does not exceed 80% of the viewport height */
    overflow-y: auto; /* Enables scrolling if content is too long */
  
}
#popup-content {
    max-height: 100%;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

div#team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: var(--grid-column-gap, 30px);/*gap*/
}
.team-member p.cat{
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: #000000;
}
h4.designation{
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: var(--e-global-color-primary);
    margin-bottom: 5px;
}
.team-member h3{
    margin-bottom: 0px;
}
.team-member h3.title{
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 8px;
}
.team-filter button{
    border-radius: 26px 26px 26px 26px;
    background: #dce0d9;
    border:0px !important;
    font-family: "Roboto", Sans-serif;
    color: #1a304b !important;
}
.team-filter button.active{
    color: #fff !important;
}
.team-member-details .team-bio {
    line-height: 1.6;
}
.team-member-details .team-header p.email:before{
    content: url(http://yogeshd24.sg-host.com/wp-content/uploads/2024/11/new_env.png);
    margin-right: 10px;
}
.filter-btn .e-n-tab-icon i{
    font-size: 0;
}
.filter-btn.active .e-n-tab-icon i{
    font-size: 16px;
}
.team-bio ul{
    margin-bottom: 13px;
}
.team-filter .filter-btn:hover span.e-n-tab-icon{
    color: #fff;
}
.team-filter .filter-btn span.e-n-tab-icon{
    font-size: 16px;
}

@media (max-width: 768px) {
    div#team-members{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .popup-content{
        width: 90%;
    max-width: 100%;
    }
}

/* Hide News button from About menu */
.menu-item-3258 {
    display: none !important;
}

/* Hide Investor Login button */
.elementor-element-db48da2 {
    display: none !important;
}
