/* Image fitting and team copy only; the original site layout and controls remain in style.css. */
.header-banner { background-image: linear-gradient(rgba(7,19,32,.55), rgba(7,19,32,.55)), url('../img/resolutionos/resolution-hero.webp'); }
.counterup { background-image: url('../img/resolutionos/resolution-hero.webp'); }
.team-section .row { display: flex; flex-wrap: wrap; }
.team-section .team-member { visibility: visible !important; }
.team-section .team-member .inner-box { height: 100%; display: flex; flex-direction: column; }
.team-section .team-member .image { aspect-ratio: 4 / 5; overflow: hidden; margin: 0; }
.team-section .team-member .image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-section .team-member .member-info { flex: 1; }
.team-section .team-member h3 a { color: inherit; }
.team-section .team-member h3 a:hover { text-decoration: underline; }
.team-section .team-member .designation { color: #86601e; line-height: 1.6; }
.team-section .team-bio { margin: 12px 0 0; color: #666; font-size: 12px; line-height: 1.8; }
.portrait-abu-bakr-kamel img, .portrait-amr-yasser img, .portrait-ahmed-salah img { object-position: 50% 30%; }
.portrait-zeinab-ahmed img { object-position: 50% 20%; }
.portrait-ali-abdo img { object-position: 50% 34%; transform: scale(3); transform-origin: 50% 34%; }
.portrait-amira-magdy img { object-position: 50% 25%; transform: scale(2); transform-origin: 51% 25%; }
.portrait-salma-salah img { object-position: left center; transform: scale(1.65); transform-origin: 0% 38%; }
img.team-composite { width: 100%; height: auto; object-fit: contain; }
.about-image img { max-width: 100%; height: auto; }
.contact-form .form-result { overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }
.contact-form .form-result a { color: #76510d; }
.footer-bottom a { color: inherit; }
.generated-photo { max-width: 100%; height: auto; }
/* Keep the existing carousel captions readable over photographs. */
.single-projects .image-holder::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 45%, rgba(0,0,0,.68)); }
.single-projects .image-holder .text { z-index: 2; }
.single-projects .image-holder .overlay { z-index: 3; }
