:root {
    --the-black: rgba(30, 30, 30, 1);
    --the-white: rgba(255, 255, 255, 1);
    --primary: rgba(39, 54, 126, 1);
    --secondary: rgba(186, 208, 37, 1);
    --faded-green: rgba(232, 246, 194, 1);
}

/*-------*/
/* Calendar and Publications */
.c-and-p-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 3em;
	justify-content: space-between;
	padding: 10px 30px;
}
.the-h-two h2::before {
	content: "";
	position: absolute;
	border-bottom: 1px solid var(--the-orange);
	width: 90px;
	bottom: -27px;
}
.aclendar-publications {
	margin-top: 6em;
}
.calendar-holder, .publications-holder {
    background: var(--the-black);
    padding: 30px;
    min-width: 43%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 6em;
    color: var(--the-white);
    margin-bottom: 40px;
    margin-right: 30px;
    margin-left: 30px;
}
.cp-link a {
    display: inline;
    position: relative;
    border: 1px solid var(--the-white);
    padding: 15px 30px;
    color: var(--the-white);
    transition: 500ms;
    display: inline-block;
}

@media(min-width: 900px){
	.c-and-p-wrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 3em;
		justify-content: space-between;
		padding: 10px 100px;
	}
}

@media(max-width: 600px){
	h2 {
		position: relative;
		font-size: 36px;
	}
	.centered-text {
		text-align: center;
		margin-bottom: 7em;
		line-height: 2 !important;
	}
}
/* Insights */
.bottom-insights {
	background: var(--the-grey);
	padding: 80px 0;
}
.insight-image img {
	width: 100%;
	object-fit: cover;
	height: 410px;
}
.the-heading-all-insights {
	display: flex;
	gap: 2em;
	align-items: center;
	justify-content: space-between;
	min-height: 61px;
	margin-bottom: 3em;
}
.the-heading-all-insights h2 {
	color: var(--the-orange);
	margin-bottom: 0;
}
.all-insights a {
	color: var(--the-black);
	position: relative;
	transition: 500ms;
	font-weight: 600;
}
.insight-date {
	margin-top: 20px;
	margin-bottom: 20px;
}
.insight-read-more {
	padding-top: 25px;
}
.insight-read-more a, .insight-title a {
	color: var(--the-black);
	position: relative;
	transition: 500ms;
}
.insight-read-more a {
	font-weight: 600;
}
.insight-read-more a::after {
	content: "\e804";
	font-family: 'sandawana';
	position: relative;
	right: -10px;
}
/* Culture */
.insight-wrapper {
	background-color: var(--the-grey);
	margin-bottom: 3em;
	padding-bottom: 4em;
}
.culture-title h2 {
	color: var(--the-orange);
} 
.find-out-more a {
	border: 1px solid var(--the-black);
	padding: 16px 30px;
	color: var(--the-black);
	transition: 500ms;
	position: relative;
}
.our-culture h2 {
	color: var(--the-orange);
	margin-bottom: 1em;
}
.insight-wrapper {
	background-color: var(--the-grey);
	margin-bottom: 3em;
}
.our-culture {
	margin-top: 4em;
	margin-bottom: 6em;
}
.culture-title {
	padding: 40px 40px;
}
.culture-image img {
	width: 100%;
	object-fit: cover;
}
.find-out-more {
	padding: 0 40px;
}

/* FAQS */
.FAQS {
	background: var(--the-black);
	color: var(--the-white);
	padding: 130px 0;
}
.centered-text {
	text-align: center;
	margin-bottom: 7em;
	line-height: 0;
}
.sp-easy-accordion > .sp-ea-single > .ea-header a {
	color: #ffffff;
	font-weight: 300;
}
#sp-ea-77.sp-easy-accordion > .sp-ea-single > .sp-collapse > .ea-body {
	background: transparent;
	color: #ffffff;
}
.home .sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
	padding: 45px 0;
	color: #444;
}
.ea-card.sp-ea-single {
	border-bottom: 1px solid var(--the-orange) !important;
}
/* Contact us */

.center-get-intouch {
    text-align: center;
    color: var(--the-dark-gray);
}

.the-form {
    text-align: center;
    width: 100%;
}

.wpcf7-form-control {
    height: 3.8em;
    width: 100%;
    border: 1px solid #e7e7e7;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 15em;
}

.wpcf7-form-control.wpcf7-acceptance {
    border: none;
}

.wpcf7-form-control.has-spinner.wpcf7-submit {
    width: 150px;
    transition: 500ms ease-in-out;
    background: var(--secondary);
    color: var(--the-white);
    padding: 10px 30px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    box-shadow: 5px 5px 0 var(--faded-green);
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 5px 6px 0px 0px rgba(186, 208, 37, 0.29);
    border: none;
}

.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.wpcf7-form label {
    width: 100%;
}

iframe {
    width: 100%;
    min-height: 310px;
}

.the-contact-map {
    margin-top: 7em;
}

.the-contact-map .center-get-intouch {
    margin-bottom: 3em;
}

@media (min-width: 760px) {
    .wpcf7-form-control {
        height: 3.8em;
        width: 100%;
        padding: 15px;
        border: 1px solid #e7e7e7;
    }
    .wpcf7-form-control.wpcf7-acceptance {
        border: none;
        display: inline-block;
        text-align: left;
        margin-left: -56px;
    }
}
/* Contact Us */

.details-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.contact-details h4 {
    color: #27367E;
    font-family: Urbanist;
    font-size: 30.052px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
}

.details span {
    color: #27367E;
    font-family: Urbanist;
    font-size: 17.173px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
}

.contact-btn a {
    border-radius: 82.555px;
    border: 1px solid var(--primary);
    padding: 15px 45px;
    color: var(--primary);
	display: inline-block;
}

.contact-btn a:hover {
    border: 1px solid var(--primary);
    color: var(--white);
	background: var(--secondary);
}

.address .details {
    display: flex;
    gap: 30px;
    flex-basis: 60%;
}

.details a {
    color: var(--black);
}

.phone, .address, .email {
    border-bottom: 1px solid var(--primary);
    padding: 30px 0;
	position: relative;
	margin-left: 120px;
}

.phone {
	border-top: 1px solid var(--primary);
}

.phone::before {
    content: "\e800";
    font-family: "bibicons";
    position: absolute;
    left: -120px;
    font-size: 50px;
    color: var(--primary);
    background: var(--secondary);
    border-radius: 50px;
    padding: 7px 20px;
}

.address::before {
    content: "\e82b";
    font-family: "bibicons";
    position: absolute;
    left: -120px;
    font-size: 50px;
    color: var(--primary);
    background: var(--secondary);
    border-radius: 50px;
    padding: 7px 20px;
}

.email::before {
    content: "\e81e";
    font-family: "bibicons";
    position: absolute;
    left: -120px;
    font-size: 50px;
    color: var(--primary);
    background: var(--secondary);
    border-radius: 50px;
    padding: 7px 20px;
}

/* Visit Us */

#visit-us .callback-form {
    flex: unset;
    max-width: unset;
    position: relative;
}

#visit-us .callback-container {
    display: block;
}

#visit-us .callback-image {
    max-width: unset;
	    margin-top: 0;
		    padding: 15px 15px 40px;
}


#visit-us .callback-image iframe {
    border-radius: 40px;
}

.visit-btn a {
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.25);
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #27367E;
    font-family: Urbanist;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    padding: 20px 5px;
}

.visit-btn {
    border-radius: 50px;
    border: 10px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.25);
    margin-top: 40px;
}

#visit-us .callback-form form textarea {
    min-height: 350px;
}

/* Team Member */

.view-profile a {
    position: relative;
    color: var(--the-white);
    font-weight: 600;
    transition: 500ms;
}

.team-top-text {
	margin-bottom: 5em;
}
.team-holder {
    margin-bottom: 2em;
    background: var(--the-black);
    color: var(--the-white);
}
.modal-dialog {
	max-width: 800px;
	margin: 1.75rem auto;
}
@media(min-width: 600px){
	.mem-img {
		float: left;
		padding-right: 2em;
		padding-bottom: 15px;
	}
}

.mem-img img {
    width: 150px;
    border-radius: 50%;
} 

.team-top-text h2 {
	color: var(--the-orange);
}

.team-image img {
    width: 100%;
    height: 500px;
    overflow: hidden;
    object-position: top;
}
.team-image {
    overflow: hidden;
}

.board-title a {
    color: var(--the-white);
	font-size: 28px;
}

.position p {
    font-size: 20px;
}

.board-details-wrap {
    padding: 20px;
}

/* Footer */
.footer-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-buttons-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.build-career a {
	border: 1px solid var(--the-black);
	padding: 15px 30px;
	display: inline-block;
	color: var(--the-black);
}

.build-project a {
	background: var(--the-yellow);
	color: var(--the-black);
	padding: 15px 30px;
	display: inline-block;
}


.the-footer-svg svg {
	width: 300px;
}

.footer-menu {
    display: grid;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    width: 115px;
}

.footer-links {
    margin: 0.5em 0;
    border-bottom: 1px solid;
    width: fit-content;
}

.privacy-links {
    display: flex;
    justify-content: space-evenly;
}

.footer-social {
	display: flex;
	gap: 20px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
	transition: 500ms ease-in-out;
}

.footer-social a:hover {
	color: var(--white);
}

.by-quatro p {
	color: var(--the-black);
}
.get-in-touch a {
	color: var(--the-black);
	transition: 500ms;
	position: relative;
}
#menu-footer {
	display: flex;
	gap: 15px;
	list-style-type: none;
	flex-wrap: wrap;
}
.the-copy-r {
	background: var(--the-grey);
}
.by-quatro a, .footer-links li a {
	color: var(--secondary);
}

.by-quatro a:hover, .footer-links li a:hover {
	color: var(--faded-green);
}

.th-cr-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    padding-top: 20px;
    align-items: baseline;
    border-top: 1px solid;
}

.the-footer-logo img {
	width: 130px;
}

.cp-wrap {
	display: flex;
	flex-wrap: wrap;
}

#menu-footer-menu li {
    list-style: none;
}

.th-cr-wrapper p {
    color: var(--the-white);
}

.fluid-container.for-footer {
    background: var(--primary);
    padding: 60px 0 10px 0px;
    color: var(--white);
}

.foot-logo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
}

#menu-footer-menu {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-around;
}

#menu-footer-menu li a, .privacy-links a {
    color: var(--the-white);
	transition: 500ms ease-in-out;
}
#menu-footer-menu li a:hover, .privacy-links a:hover {
    color: var(--secondary);
}

.social {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    color: var(--the-white);
}

.footer-links {
    margin-top: 0.5em;
}

.social a {
    border: 1px solid;
    padding: 15px;
    border-radius: 50%;
}

.ea-card.sp-ea-single a, .menu-footer-container a  {
	transition: 500ms;
}

.get-in-touch a {
	font-weight: 600;
	transition: 500ms;
	position: relative;
}


#mega-menu-primary li a {
	transition: 500ms !important;
}
/* .container.animate__animated.animate__zoomIn {
	position: relative;
	z-index: 9999;
} */
.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

/* Effects */

.view-profile a:hover {
	margin-left: 5px;
	color: var(--the-orange);
}
.read-more a:hover {
	margin-left: 5px;
}
.news-readmore a:hover {

	margin-left: 5px;
}
.all-insights a:hover {
	color: var(--the-orange);
}
.menu-footer-container a:hover, .get-in-touch a:hover {
	color: var(--the-orange);
}
.cp-link a:hover {
	background: var(--the-white);
	color: var(--the-black);
}
.find-out-more a:hover {
	background: var(--the-black);
	color: var(--the-white);
}
.insight-read-more a:hover, .services-title a:hover{
	color: var(--the-orange);
	margin-left: 8px;
}
.insight-title a:hover {
	color: var(--the-orange);
}
.ea-card.sp-ea-single a:hover {
	margin-left: 5px;
}


/* Gallery */

.woow-gal-amron-title-wrap {
	min-height: 40px;
}

.woow-gal-amron-desc-wrap.woow-gal-amron-hasTitle {
	background: var(--faded-green) !important;
	color: var(--the-white) !important;
}

.woow-gal-amron-title {
	color: var(--the-grey) !important;
	font-weight: 300;
}

.woowgallery-amron .woow-gal-amron-thumb .woow-gal-amron-item-wrap img {
	transition: transform 0.7s ease;
	height: 300px !important;
}

/* Pagination */


/* .pagination {
    justify-content: flex-end;
} */

.pagination span {
    font-size: 1.2em;
}

.pagination span,
.pagination a {
    border-radius: 0px;
    font-size: 15px;
    background: var(--the-black);
    color: var(--white);
    padding: 5px 10px;
    margin: 5px 5px 30px;
}


.pagination a:hover {
    background: var(--the-yellow);
}

.pagination .current {
    background: var(--the-yellow);
}

.sidebar-job a {
	color:var(--the-black)
}

.sidebar-job a:hover {
	color:var(--the-yellow)
}

/* Leadership Styles */
.leadership-section {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* Ensure exactly 3 columns on larger screens */
@media (min-width: 900px) {
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 columns on medium screens */
@media (max-width: 899px) and (min-width: 600px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column on small screens */
@media (max-width: 599px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

.leader-card {
    background: var(--the-white);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.leader-card h3 {
    margin: 15px 0 5px;
    color: var(--primary);
    font-size: 1.2rem;
}

.leader-card .position {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1rem;
}


/* Modal */
.leader-modal {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
        overflow-y: auto;
}

.leader-modal.open {
    display: flex;
}

.leader-modal-content {
    background: var(--the-white);
    border-radius: 15px;
    /* max-width: 900px; */
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: fadeIn 0.3s ease;
    z-index: 1000;
    margin-top: 10%;

}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--secondary);
}

.leader-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.leader-img img {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
}

.leader-info {
    flex: 1;
    text-align: left;
    min-width: 300px;
}

.leader-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 1rem;
    font-size: 20px;
}

.leader-info p {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 15px;
}

#modalBio {
    line-height: 1.6;
    color: var(--the-black);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-modal-body {
        flex-direction: column;
    }
    
    .leader-img img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .leader-modal-content {
        width: 95%;
        max-width: 400px; 
        max-height: 50vh; 
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px; 
    
        
    }

    .leader-modal-body {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .leader-img img {
        max-width: 350px;
        height: 180px;
        border-radius: 10px;
    }

    .leader-info {
        text-align: center;
        min-width: unset;
        width: 100%;
    }

    .leader-info h3 {
        font-size: 18px;
        margin-top: 10px;
    }

    .leader-info p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    #modalBio {
        font-size: 15px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .leader-modal-content {
        width: 95%;
        padding: 35px;
        border-radius: 10px;
    }

    .leader-info h3 {
        font-size: 16px;
    }

    .leader-info p,
    #modalBio {
        font-size: 14px;
    }
}


/* Leadership Tabs */
.leadership-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--primary);
    background: var(--the-white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 30px; /* pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tab-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--the-black);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--the-white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Panels */
.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

body.modal-open #topHeader.scrolled{
    display: none !important;
}






