/* =====================================================================
   Proman Technology Services - responsive stylesheet (mobile-first)

   Breakpoints
     base       phones      (375px - 599px)
     >= 600px   large phones / small tablets
     >= 900px   iPad landscape + desktop: side-by-side panels, full nav
     >= 1200px  desktop: secondary "info" links shown in the header

   Notes
   - All existing IDs / classes are kept, so the PHP pages need no change.
   - ReadMore accordions are styled with attribute selectors
     (button[class*="ReadMore"], div[class*="ReadMoreContent"]) so one rule
     covers every section (SP, SL, SC, SO, OAR, WM, KMM, BDD, SI, SST, SSS,
     PartnersPP/SMS/BMS/CWP).
   ===================================================================== */

/* ---------- 0. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
	--gutter: 1rem;
	--band-blue: #ADD8E6;
	--band-light: rgba(229, 229, 229, 0.14);
	--band-grey: #ececec;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden; /* on <html> only, so position:sticky keeps working */
}

body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #000;
	font-family: 'Varela Round', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; border: 0; }
ul { list-style-type: none; }
button, input, select, textarea { font-family: inherit; }

@media (min-width: 600px) { :root { --gutter: 5%; } }
@media (min-width: 900px) { :root { --gutter: 10%; } }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---------- 1. Header + navigation ---------- */
#header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.25rem 1rem;
	background: #fff;
}

#icon {
	flex: 0 0 auto;
	width: 4rem;
}

#iconimg {
	display: block;
	width: 100%;
	height: auto;
}

/* hamburger (phones + iPad portrait) */
.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 6px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #000;
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#Menu {
	display: none;
	flex: 0 0 100%;
	order: 3;
	max-height: 80vh;
	overflow-y: auto;
	border-top: 1px solid #ddd;
}

#header.nav-open #Menu { display: block; }

#MenuInner {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: #fff;
}

#MenuInner > li { border-bottom: 1px solid #eee; }

#MenuInner > li > a,
.dropbtn {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	margin: 0;
	font-family: inherit;
	font-size: 1.1rem;
	line-height: inherit;
	color: #000;
	text-align: center;
	text-decoration: none;
	background: #fff;
	border: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#MenuInner > li > a:hover,
.dropbtn:hover,
.dropbtn:focus {
	background-color: #000;
	color: #fff;
}

.dropdown { position: relative; display: block; }

.dropdown-content {
	display: none;
	margin: 0;
	padding: 0;
	background: #f5f5f5;
}

.dropdown-content.show { display: block; }

#MenuInner .dropdown-content ul { margin: 0; padding: 0; text-align: center; }

#MenuInner .dropdown-content a {
	display: block;
	padding: 0.75rem 1rem;
	color: #000;
	text-decoration: none;
	text-align: center;
}

#MenuInner .dropdown-content li:hover,
#MenuInner .dropdown-content a:hover { background: #ddd; color: #000; }

/* secondary links - desktop only (they duplicate the main menu) */
#info {
	display: none;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#info li { min-width: 5rem; }

#info li a {
	display: block;
	padding: 5px 8px;
	color: #000;
	text-align: center;
	text-decoration: none;
	font-size: 0.8em;
}

#info li a:hover { text-decoration: underline; }

@media (min-width: 900px) {
	#header { flex-wrap: nowrap; padding: 0.25rem 1.5rem; }
	#icon { width: 6rem; }
	.nav-toggle { display: none; }

	#Menu {
		display: flex;
		flex: 1 1 auto;
		order: 0;
		justify-content: center;
		align-self: flex-end;
		max-height: none;
		overflow: visible;
		border-top: 0;
	}

	#MenuInner {
		flex-direction: row;
		align-items: center;
		border-bottom: 3px groove grey;
	}

	#MenuInner > li { border-bottom: 0; }

	#MenuInner > li > a,
	.dropbtn {
		width: auto;
		padding: 0.35rem 0.9rem;
		font-size: clamp(1rem, 1.5vw, 1.2rem);
	}

	.dropdown-content {
		position: absolute;
		top: 100%;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		min-width: 12.5rem;
		background: #fff;
		box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
		z-index: 1;
		white-space: nowrap;
	}
}

/* >= 900px: three-column grid (equal outer columns, menu in the middle) so the
   menu sits in the exact centre of the page width. Below 1200px the right-hand
   column is simply empty; from 1200px it holds the About Us / Contact Us links. */
@media (min-width: 900px) {
	#header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
	}

	#icon { width: auto; justify-self: start; }
	#iconimg { width: 6rem; }
	#Menu { justify-self: center; align-self: end; }
}

@media (min-width: 1200px) {
	#info { display: flex; justify-self: end; align-self: start; margin-left: 0; }
}

/* ---------- 2. Hero banners ---------- */
#headerLogo,
#SolutionsHeader,
#ModulesHeader,
#ServicesHeader,
#PartnersHeader,
#AboutUsHeader,
#ContactUsHeader {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: clamp(4rem, 14vw, 10rem) 1rem;
	text-align: center;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-blend-mode: darken;
	background-color: rgba(0, 0, 0, 0.5);
}

#headerLogo {
	padding: clamp(5rem, 20vw, 15rem) 1rem;
	background-blend-mode: lighten;
	background-color: rgba(255, 255, 255, 0);
	background-image: url('/images/image_5.jpg');
}

#SolutionsHeader { background-image: url('/images/image_3.jpg'); }
#ModulesHeader   { background-image: url('/images/image_9.jpg'); }
#ServicesHeader  { background-image: url('/images/image_15.jpg'); }
#PartnersHeader  { background-image: url('/images/image_19.jpg'); }
#AboutUsHeader   { background-image: url('/images/image_24.jpg'); }
#ContactUsHeader { background-image: url('/images/image_26.jpg'); }

#logo { width: 80%; max-width: 45rem; }
#logoimg { display: block; width: 100%; height: auto; object-fit: contain; }

#SolutionsHeaderText p,
#ModulesHeaderText p,
#ServicesHeaderText p,
#PartnersHeaderText p,
#AboutUsHeaderText p,
#ContactUsHeaderText p {
	margin: 0;
	font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(1.4rem, 5.5vw, 2rem);
	color: #fff;
	text-transform: uppercase;
}

/* ---------- 3. Intro blocks ---------- */
#Welcome,
#Solutions,
#Modules,
#Services,
#Partners,
#AboutUs,
#ContactUs {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: calc(100% - 2rem);
	max-width: 62rem;
	margin: 1.5rem auto 1rem;
	text-align: center;
}

#Welcome { max-width: 52rem; margin-top: clamp(2rem, 6vw, 5rem); }

#Welcome p,
#Solutions p,
#Modules p,
#Services p,
#Partners p,
#AboutUs p,
#ContactUs p {
	font-size: 1rem;
	text-align: center;
	line-height: 1.5;
}

#WelcomeRead {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

#HeaderText {
	display: block;
	margin: 1.5rem 0 0.75rem;
	font-size: clamp(1.4rem, 4vw, 1.8rem);
	text-align: center;
}

.ReadMore {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 11rem;
	padding: 0.6rem 1.5rem;
	font-size: clamp(1.1rem, 3vw, 1.5rem);
	color: #fff;
	background-color: #000;
	text-decoration: none;
	border-radius: 1rem;
}

/* ---------- 4. Home page ---------- */
#ManagSystem {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 2.5rem 0;
	padding: 0 var(--gutter);
	background-color: var(--band-grey);
}

#ManagSystemLeft {
	flex: 1 1 100%;
	min-height: 14rem;
	opacity: 0.5;
	background: url('/images/image_1.jpg') no-repeat center;
	background-size: cover;
}

#ManagSystemRight {
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	justify-content: center;
	padding: 1.5rem 1rem;
}

#ManagSystem p {
	margin: 0.75rem 0;
	font-size: 1rem;
	text-align: center;
	line-height: 1.5;
}

#ManagSystem h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	text-align: center;
	line-height: 1.4;
}

#ManagSystem0 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	justify-items: center;
	width: 100%;
	max-width: 80rem;
	margin: 0 auto 3rem;
	padding: 0 1rem;
}

#ManagSystem1,
#ManagSystem2,
#ManagSystem3 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 24rem;
	border: 3px groove #aea8a8;
}

#systemimg,
#aboutimg,
#contactimg { display: block; width: 100%; height: auto; }

#ManagSystem0 p {
	margin: 0.75rem 0;
	font-size: clamp(1.1rem, 2.5vw, 1.3rem);
	text-align: center;
	line-height: 1.5;
}

#ManagSystemRead1,
#ManagSystemRead2,
#ManagSystemRead3 {
	display: flex;
	padding-bottom: 1rem;
}

@media (min-width: 700px) {
	#ManagSystem0 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
	#ManagSystemLeft  { flex: 1 1 50%; max-width: 50%; min-height: 25rem; }
	#ManagSystemRight { flex: 1 1 50%; max-width: 50%; }
}

/* ---------- 5. Split sections (text + image + accordion) ----------
   Phones / iPad portrait: image banner on top, text, then accordion.
   >= 900px: 50 / 50 columns, accordion underneath.                     */

/* the section bands */
#SolutionsProperty, #SolutionsLetting, #SolutionsClient, #SolutionsOther,
#OnlineAppReg, #WebModules, #BDDModules, #KeysManagementModules,
#ServicesImplementation, #ServicesStaffTraining, #ServicesSoftwareSupport,
#PartnersPropertyPortals, #PartnersSMSMessaging, #PartnersBankingModuleSoftware,
#PartnersCareersWithProman, #AboutUsWhyProman {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0 var(--gutter);
	background-color: var(--band-light);
}

/* blue bands */
#SolutionsLetting, #SolutionsOther, #WebModules, #BDDModules,
#ServicesStaffTraining, #PartnersSMSMessaging, #PartnersCareersWithProman {
	background-color: var(--band-blue);
}

/* first band on each page has breathing room above it */
#SolutionsProperty, #OnlineAppReg, #ServicesImplementation,
#PartnersPropertyPortals, #AboutUsWhyProman {
	margin-top: 2rem;
}

/* text panels */
#SolutionsPropertyLeft, #SolutionsLettingRight, #SolutionsClientLeft, #SolutionsOtherRight,
#OnlineAppRegLeft, #WebModulesRight, #BDDModulesRight, #KeysManagementModulesLeft,
#ServicesImplementationLeft, #ServicesStaffTrainingRight, #ServicesSoftwareSupportLeft,
#PartnersPropertyPortalsLeft, #PartnersSMSMessagingRight, #PartnersBankingModuleSoftwareLeft,
#PartnersCareersWithPromanRight, #AboutUsWhyPromanLeft {
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 1rem 0.5rem;
}

/* image panels */
#SolutionsPropertyRight, #SolutionsLettingLeft, #SolutionsClientRight, #SolutionsOtherLeft,
#OnlineAppRegRight, #WebModulesLeft, #BDDModulesLeft, #KeysManagementModulesRight,
#ServicesImplementationRight, #ServicesStaffTrainingLeft, #ServicesSoftwareSupportRight,
#PartnersPropertyPortalsRight, #PartnersSMSMessagingLeft, #PartnersBankingModuleSoftwareRight,
#PartnersCareersWithPromanLeft, #AboutUsWhyPromanRight {
	flex: 1 1 100%;
	order: -1;
	min-height: 14rem;
	opacity: 0.5;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#SolutionsPropertyRight          { background-image: url('/images/image_6.jpg'); }
#SolutionsLettingLeft            { background-image: url('/images/image_4.jpg'); }
#SolutionsClientRight            { background-image: url('/images/image_7.jpg'); }
#SolutionsOtherLeft              { background-image: url('/images/image_8.jpg'); }
#OnlineAppRegRight               { background-image: url('/images/image_10.jpg'); }
#WebModulesLeft                  { background-image: url('/images/image_11.jpg'); }
#BDDModulesLeft                  { background-image: url('/images/image_13.jpg'); }
#KeysManagementModulesRight      { background-image: url('/images/image_14.jpg'); }
#ServicesImplementationRight     { background-image: url('/images/image_16.jpg'); }
#ServicesStaffTrainingLeft       { background-image: url('/images/image_17.jpg'); }
#ServicesSoftwareSupportRight    { background-image: url('/images/image_18.jpg'); }
#PartnersPropertyPortalsRight    { background-image: url('/images/image_20.jpg'); }
#PartnersSMSMessagingLeft        { background-image: url('/images/image_21.jpg'); }
#PartnersBankingModuleSoftwareRight { background-image: url('/images/image_22.jpg'); }
#PartnersCareersWithPromanLeft   { background-image: url('/images/image_23.jpg'); }
#AboutUsWhyPromanRight           { background-image: url('/images/image_25.jpg'); }

@media (min-width: 900px) {
	#SolutionsPropertyLeft, #SolutionsLettingRight, #SolutionsClientLeft, #SolutionsOtherRight,
	#OnlineAppRegLeft, #WebModulesRight, #BDDModulesRight, #KeysManagementModulesLeft,
	#ServicesImplementationLeft, #ServicesStaffTrainingRight, #ServicesSoftwareSupportLeft,
	#PartnersPropertyPortalsLeft, #PartnersSMSMessagingRight, #PartnersBankingModuleSoftwareLeft,
	#PartnersCareersWithPromanRight, #AboutUsWhyPromanLeft {
		flex: 1 1 50%;
		max-width: 50%;
		min-height: 24rem;
		padding: 1rem 1.5rem;
	}

	#SolutionsPropertyRight, #SolutionsLettingLeft, #SolutionsClientRight, #SolutionsOtherLeft,
	#OnlineAppRegRight, #WebModulesLeft, #BDDModulesLeft, #KeysManagementModulesRight,
	#ServicesImplementationRight, #ServicesStaffTrainingLeft, #ServicesSoftwareSupportRight,
	#PartnersPropertyPortalsRight, #PartnersSMSMessagingLeft, #PartnersBankingModuleSoftwareRight,
	#PartnersCareersWithPromanLeft, #AboutUsWhyPromanRight {
		flex: 1 1 50%;
		max-width: 50%;
		order: 0;
		min-height: 24rem;
	}
}

/* text helpers inside the panels */
.Left, .Right { margin: 0.5rem 0; padding: 0.5rem; }

.LeftHeader, .RightHeader {
	margin: 0.5rem 0;
	padding: 0 0.5rem;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
}

/* feature lists adapt to the width of their panel - no breakpoints needed */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.5rem 1rem;
	margin: 0;
	padding: 0 0.5rem;
	list-style-type: disc;
	list-style-type: '- ';
	list-style-position: inside;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.features li { margin-bottom: 0 !important; } /* overrides the inline margin-bottom:10% in the pages */

/* ---------- 6. "Click to read more" accordions ---------- */
#SPLeftReadMore, #SLRightReadMore, #SCRightReadMore, #SOLeftReadMore,
#OARLeftReadMore, #WMRightReadMore, #BDDRightReadMore, #KMMLeftReadMore,
#SILeftReadMore, #SSTRightReadMore, #SSSLeftReadMore,
#PartnersPPLeftReadMore, #PartnersSMSRightReadMore, #PartnersBMSLeftReadMore,
#PartnersCWPRightReadMore, #AboutUsWPLeftReadMore {
	display: flex;
	flex: 0 0 100%;
	flex-direction: column;
	width: 100%;
	border-top: 3px groove #000;
}

button[class*="ReadMore"] {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 44px;
	padding: 0.6rem 1rem;
	font-family: inherit;
	font-size: clamp(1.05rem, 2.5vw, 1.3rem);
	font-style: italic;
	text-align: left;
	color: #000;
	background: var(--band-light);
	border: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* Alternate the button text: 1st accordion on each page left, 2nd right, 3rd left ... */
#SLRightReadMore > button, #SOLeftReadMore > button,
#WMRightReadMore > button, #BDDRightReadMore > button,
#SSTRightReadMore > button,
#PartnersSMSRightReadMore > button, #PartnersCWPRightReadMore > button {
	justify-content: flex-end;
	text-align: right;
}

button[class*="ReadMore"]:hover { background: rgba(0, 0, 0, 0.06); }

button[class*="ReadMore"]::after {
	content: '\002B';
	margin-left: 0.5rem;
	font-weight: bold;
}

button[class*="ReadMore"].active::after { content: '\2212'; }

div[class*="ReadMoreContent"] {
	max-height: 0;
	overflow: hidden;
	padding: 0 1rem;
	background: var(--band-light);
	transition: max-height 0.2s ease-out;
}

div[class*="ReadMoreContent"] p { font-size: 0.95rem; text-align: left; }

.ReadMoreContentHeader {
	display: flex;
	align-items: center;
	margin: 1rem 0 0.5rem;
	padding: 0;
	font-family: "Gill Sans Extrabold", "Gill Sans", -apple-system, "Segoe UI", sans-serif;
	font-size: 1.05rem;
	font-style: italic;
	text-align: left;
}

.ReadMoreContentHeader::before,
.ReadMoreContentHeader::after {
	content: '';
	flex: 0 0 1.5rem;
	border-top: 2px solid;
}

.ReadMoreContentHeader::before { margin-right: 0.75rem; }
.ReadMoreContentHeader::after  { margin-left: 0.75rem; }

.portals, .sms, .banks {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* ---------- 7. Contact page ---------- */
#ContactUsSection {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1.5rem;
	width: calc(100% - 2rem);
	max-width: 70rem;
	margin: 1.5rem auto 2rem;
}

#ContactUsForm {
	flex: 2 1 20rem;
	min-width: 0;
	padding: 0.5rem 1.25rem 1rem;
	border-radius: 25px;
	box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
}

#ContactUsDetails {
	flex: 1 1 16rem;
	min-width: 0;
	align-self: center;
	padding: 1rem 1.25rem;
	border-radius: 25px;
	box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
}

#ContactUsDetails p { margin: 0.4rem 0; text-align: left; }
#ContactUs p { text-align: center; }

.Customerenq,
.PromanContactUs {
	margin: 0.75rem 0;
	font-size: 1.5rem;
	font-style: italic;
}

#ContactUsForm label { display: block; margin-top: 0.5rem; }

#name, #email, #company, #message, #question {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0.4rem 0 0.6rem;
	padding: 0.6rem;
	font-size: 16px; /* 16px stops iOS Safari zooming in on focus */
	border: 1px solid #767676;
	border-radius: 4px;
	-webkit-appearance: none;
	appearance: none;
}

#department {
	display: block;
	width: 100%;
	max-width: 20rem;
	margin: 0.4rem 0 0.6rem;
	padding: 0.6rem;
	font-size: 16px;
	border-radius: 4px;
}

.question { display: block; max-width: 100%; height: auto; margin: 0.4rem 0; }

#submit {
	display: block;
	width: 10em;
	min-height: 44px;
	margin: 1rem 0 0.5rem;
	font-size: 1em;
	color: #fff;
	background: #000;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

input:hover { box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.94); }

@media (max-width: 599px) {
	#submit { width: 100%; }
}

/* ---------- 8. Footer ---------- */
#Footer {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	padding: 1rem;
	border-top: 0.1rem solid #000;
}

#FooterInfo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.85rem;
	text-align: center;
}

#FooterInfo p { margin: 0.25rem 0; }

@media (min-width: 900px) {
	#FooterInfo { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; }
}

/* ---------- 9. Dark mode ----------
   Follows the device / browser setting (iPhone, iPad, Android, desktop).
   `color-scheme` also makes form controls, scrollbars and default link
   colours switch automatically, and stops browsers "force darkening" the
   page themselves (which can leave dark text on dark backgrounds).       */
:root { color-scheme: light dark; }

@media (prefers-color-scheme: dark) {
	:root {
		--band-blue: #1b3a4b;
		--band-light: rgba(255, 255, 255, 0.06);
		--band-grey: #1e1e1e;
	}

	body { background: #121212; color: #e8e8e8; }

	/* header + navigation */
	#header,
	#MenuInner { background: #121212; }

	/* white tile behind the logo icon so a dark icon is never lost */
	#iconimg { background: #fff; border-radius: 0.4rem; padding: 0.15rem; }

	.nav-toggle { background: #1e1e1e; border-color: #888; }
	.nav-toggle span { background: #e8e8e8; }

	#Menu { border-top-color: #444; }
	#MenuInner > li { border-bottom-color: #333; }

	#MenuInner > li > a,
	.dropbtn { color: #e8e8e8; background: #121212; }

	#MenuInner > li > a:hover,
	.dropbtn:hover,
	.dropbtn:focus { background: #e8e8e8; color: #000; }

	.dropdown-content { background: #1e1e1e; box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.6); }
	#MenuInner .dropdown-content a { color: #e8e8e8; }
	#MenuInner .dropdown-content li:hover,
	#MenuInner .dropdown-content a:hover { background: #333; color: #fff; }

	#info li a { color: #e8e8e8; }

	/* buttons / cards / accordions */
	.ReadMore { background-color: #e8e8e8; color: #000; }

	#ManagSystem1,
	#ManagSystem2,
	#ManagSystem3 { border-color: #666; }

	div[id$="ReadMore"] { border-top-color: #888; }
	button[class*="ReadMore"] { color: #e8e8e8; }
	button[class*="ReadMore"]:hover { background: rgba(255, 255, 255, 0.12); }

	/* contact form */
	#ContactUsForm,
	#ContactUsDetails { background: #1b1b1b; box-shadow: 0 0 0 1px #444; }

	#name, #email, #company, #message, #question, #department {
		background: #1e1e1e;
		color: #e8e8e8;
		border: 1px solid #888;
	}

	input:hover { box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.35); }
	#submit { background: #e8e8e8; color: #000; }

	/* footer */
	#Footer { border-top-color: #666; }
}

/* =====================================================================
   ADD THIS BLOCK TO THE END OF stylenew.css
   (contact form textarea / error box, and the contact_process.php page)
   ===================================================================== */

/* ---------- 9. Contact form extras ---------- */
#message {
	min-height: 8rem;
	resize: vertical;
	line-height: 1.4;
}

#ContactErrors {
	margin: 0.75rem 0;
	padding: 0.75rem 1rem;
	color: #7a1010;
	background: #fdecec;
	border: 1px solid #d9534f;
	border-radius: 8px;
}

#ContactErrors p { margin: 0 0 0.4rem; text-align: left; }

#ContactErrors ul {
	margin: 0;
	padding-left: 1.25rem;
	list-style-type: disc;
	text-align: left;
}

/* ---------- 10. contact_process.php result page ---------- */
#ContactResult {
	width: calc(100% - 2rem);
	max-width: 42rem;
	margin: 2rem auto;
	padding: 1.5rem 1.25rem 2rem;
	text-align: center;
	border-radius: 25px;
	box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
}

#ContactResult #HeaderText { margin-top: 0.5rem; }

.ResultIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 0.5rem;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	border-radius: 50%;
}

.ResultSuccess .ResultIcon { background: #2e8b57; }
.ResultFailed  .ResultIcon { background: #c0392b; }

.ResultStatus { margin: 0.5rem 0 1rem; font-size: 1.1rem; }

.ResultSummary {
	margin: 1.25rem 0;
	padding: 1rem;
	text-align: left;
	background: var(--band-grey);
	border-radius: 12px;
}

.ResultSummaryTitle { margin: 0 0 0.5rem; font-style: italic; }

.ResultSummary dl { margin: 0; }
.ResultSummary dt { margin-top: 0.6rem; font-weight: bold; }
.ResultSummary dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; }

.ResultButtons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.ReadMoreAlt {
	color: #000;
	background: #fff;
	border: 2px solid #000;
}

