/* =====================================================
   STICKY-FORM BUTTON | 2024 visual-parity refresh
   ===================================================== */

/* ---------- tune once, enjoy everywhere ---------- */
:root {
    --sf-toggle-width: 64px;      /* visible width of the vertical tab  */
    --sf-radius: 20px;           /* generous corner radius on open panel */
}

/* ---------- anchor ---------- */
.sticky-form-button {
    position: fixed;
    top: 180px;                  /* sits just below the hero copy */
    right: 0;
    z-index: 1000;
    transform: none;             /* kill the old translateY(-50%) hack */
    padding: 0 !important;
}

/* ---------- slide mechanic ---------- */
.sticky-form-button__inner {
    display: flex;
    align-items: stretch;
    transform: translateX(calc(100% - var(--sf-toggle-width))); /* only tab peeks out */
    transition: transform .35s ease;
}
.sticky-form-button__inner.active {
    transform: translateX(0);    /* reveal full form */
}

/* ---------- vertical tab ---------- */
.sticky-form-button__toggle {
    width: var(--sf-toggle-width);
    padding: 10px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 19px;
    font-family: Pastiche Grotesque, Open Sans, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    border: none;
    border-radius: var(--sf-radius) 0 0 var(--sf-radius);
    box-shadow: -4px 0 10px rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform .35s ease;
    max-height: 30%;
    position: relative;
    top: 150px; /* Adjust this value to move the toggle down */
}

/* Loading animation for the toggle button */
.sticky-form-button__toggle.loading {
    position: relative;
}
.sticky-form-button__toggle.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.sticky-form-button__inner.active .sticky-form-button__toggle {
    transform: none;   /* subtle “flip” cue when open */
}

/* ---------- orange form panel ---------- */
.sticky-form-button__form-container {
    width: 420px;
    max-height: 80vh;
    min-height: 400px; /* Prevents height decrease on message display */
    overflow-y: auto;
    border-radius: var(--sf-radius) 0 0 var(--sf-radius); /* round only exposed edge */
    box-shadow: -4px 0 20px rgba(0,0,0,.20);
    position: relative;
    margin-bottom: -150px; /* Compensates for negative positioning */
}

/* Close button for mobile */
.sticky-form-button__close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.sticky-form-button__close button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
}

.sticky-form-button__form-inner {
    padding: 40px 35px;
}

/* ---------- typographic lift ---------- */
.sticky-form-button__form-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
}
.sticky-form-button__content {
    margin-bottom: 25px;
}

/* ---------- gravity-forms field hygiene ---------- */
.sticky-form-button input,
.sticky-form-button textarea,
.sticky-form-button select {
    width: 100% !important;
    border-radius: 6px;
}

/* Checkbox styling (minimal for normal appearance) */
.sticky-form-button input[type="checkbox"] {
    appearance: auto; /* Revert to browser default */
    width: 20% !important;
    height: 16px;
    margin: 0 8px 0 0; /* Space between checkbox and label */
    vertical-align: middle;
}

/* Inline consent field */
.sticky-form-button .gfield--type-consent .ginput_container_consent {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sticky-form-button .gfield_consent_label {
    margin: 0;
    font-size: 16px;
}

/* ---------- mobile optimisation ---------- */
@media (max-width: 768px) {
    .sticky-form-button {
        top: 100px; /* Adjusted to sit lower than desktop but still on the right */
        right: 0;
    }
    .sticky-form-button__inner {
        flex-direction: row; /* Mimic desktop layout */
        align-items: stretch;
        transform: translateX(calc(100% - var(--sf-toggle-width))); /* Slide from right */
    }
    .sticky-form-button__inner.active {
        transform: translateX(0); /* Reveal full form */
    }
    .sticky-form-button__toggle {
        width: var(--sf-toggle-width);
        padding: 8px 0;
        writing-mode: vertical-rl;
        font-size: 16px; /* Slightly smaller for mobile */
        border-radius: var(--sf-radius) 0 0 var(--sf-radius);
    }
    .sticky-form-button__form-container {
        width: 80vw; /* Smaller width for mobile */
        max-height: 90vh;
        min-height: 300px; /* Adjusted for mobile */
        border-radius: var(--sf-radius) 0 0 var(--sf-radius);
		top:75px;
    }
    .sticky-form-button__form-inner {
        padding: 20px; /* Reduced padding for mobile */
    }
    .sticky-form-button__form-heading {
        font-size: 24px; /* Smaller heading for mobile */
    }
    .sticky-form-button__content {
        font-size: 14px; /* Smaller text for mobile */
    }
    .sticky-form-button input,
    .sticky-form-button textarea,
    .sticky-form-button select {
        font-size: 14px; /* Ensure input fields are readable */
    }
    .sticky-form-button .gfield_consent_label {
        font-size: 14px; /* Smaller consent label for mobile */
    }
}
.team-members {
    background-color: #fff;
}

.team-members .team-members__heading {
    text-align: left;
    margin-bottom: 2rem;
	padding: 0 45px;
}

.team-members .team-members__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
}

.team-members .team-members__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-members .team-members__image {
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100%;
    height: 350px; /* Fixed height for consistency */
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.team-members .team-members__photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container */
    position: relative;
    z-index: 1;
}

.team-members .team-members__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 60%;
    margin: 20px 0px;
}

.team-members .team-members__name {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5rem;
}

.team-members .team-members__position {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: left;
}

.team-members .team-members__email,
.team-members .team-members__phone {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    text-align: left;
}

.team-members .team-members__email a {
    color: #007bff;
    text-decoration: none;
}

.team-members .team-members__email a:hover {
    text-decoration: underline;
}

.team-members .team-members__linkedin {
    margin-top: 0.5rem;
    text-align: left;
}

.team-members .team-members__linkedin a {
    color: #0077b5;
}

.team-members .linkedin-icon {
    width: 40px;
    height: 40px;
}

/* Responsive adjustments for team-members__image */
@media (max-width: 1024px) {
    .team-members .team-members__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
    .team-members .team-members__image {
        height: 310px; /* Adjusted height for medium screens */
    }
}

/* Responsive adjustments for team-members__image */
@media (max-width: 800px) {
    .team-members .team-members__grid {
        grid-template-columns: repeat(1, 1fr); /* 2 columns on medium screens */
    }
    .team-members .team-members__image {
        height: 350px; /* Adjusted height for medium screens */
    }
	
	.team-members .team-members__heading {
		padding: 25px 15px 0;
	}
}

.bonds__btns{
	    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
	
}


.post-type-archive-wise_owls .container--inner {
	
	padding: 0 2rem !important;
	
}

.OP23 {
	padding:0 2rem !important;
	
}


.OP23 .featured-image img {
	
	width:100% !important;
	height:100% !important;
}

.sec2 {

	padding: 70px 2rem !important;
	
}


.sec2 .col-4-5 {
	
align-content:center !important;	
	
}


@media (max-width: 767px) {
    .pageBanner__logo {
        max-width: fit-content !important;
        right: 15px;
    }
}

@media (max-width: 467px) {
	    .pageBanner__logo img {
        width:80px !important;
			height:80px !important;
    }
}

.bond-modal__inputRight--select:after {
    content: "";
    position: absolute;
    top: 14px;
    right: 10px;
    width: 39px;
    height: 38px;
        background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20384%20512%22%3E%3Cpath%20d%3D%22M169.4%20470.6c12.5%2012.5%2032.8%2012.5%2045.3%200l160-160c12.5-12.5%2012.5-32.8%200-45.3s-32.8-12.5-45.3%200L224%20370.8%20224%2064c0-17.7-14.3-32-32-32s-32%2014.3-32%2032l0%20306.7L54.6%20265.4c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3l160%20160z%22/%3E%3C/svg%3E) !important;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}


