/* ===================================
   CSS Reset & Base Styles
   =================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'OpenSans-Regular', Arial, sans-serif;
	font-size: 100%;
	background: #ffffff;
	color: #333;
	line-height: 1.6;
}

@font-face {
	font-family: 'OpenSans-Regular';
	src: url(../fonts/OpenSans-Regular.ttf) format('truetype');
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 1rem 0;
	color: #d27717;
	font-weight: 400;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin: 0 0 1rem 0;
}

a {
	color: #d27717;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #F66C53;
}

/* ===================================
   Layout Components
   =================================== */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.mb-5 {
	margin-bottom: 3rem;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
	position: absolute;
	width: 100%;
	z-index: 100;
	top: 0;
	padding: 1.5rem 2rem;
}

.navbar-container {
	max-width: 1200px;
	margin: 0 auto;
}

.nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-menu li {
	position: relative;
}

.nav-menu > li > a {
	display: block;
	color: #fff;
	padding: 0.5rem 1.5rem;
	text-shadow: 0px 5px 10px #000000;
	transition: color 0.3s ease;
}

.nav-menu > li > a:hover {
	color: #F66C53;
}

.nav-logo {
	width: 200px;
	height: auto;
	display: block;
}

/* Dropdown Menus */
.has-dropdown .dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(19, 19, 19, 0.95);
	list-style: none;
	min-width: 300px;
	padding: 0.5rem 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.has-dropdown:hover .dropdown {
	display: block;
}

.dropdown li {
	display: block;
}

.dropdown li a {
	display: block;
	padding: 0.75rem 1.5rem;
	color: #fff;
	text-shadow: 0px 5px 10px #000000;
	transition: color 0.3s ease;
}

.dropdown li a:hover {
	color: #F66C53;
	background: rgba(255, 255, 255, 0.05);
}

/* Mobile Toggle Button */
.navbar-toggle {
	display: none;
	background: transparent;
	border: 2px solid #fff;
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	border-radius: 4px;
}

.icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: #fff;
	margin: 4px 0;
	transition: all 0.3s ease;
}

/* ===================================
   Banner / Hero Section
   =================================== */

.banner {
	background-image: url(/images/ghl_bk.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	min-height: 800px;
	position: relative;
}

/* Improved responsive image handling */
@media (max-width: 1200px) {
	.banner {
		background-position: center 20%;
	}
}

/* Mobile hero logo - hidden on desktop */
.mobile-hero-logo {
    display: none;
}

@media (max-width: 768px) {
	.banner {
		min-height: 500px;
		background-position: center center;
	}
    .mobile-hero-logo {
        display: block;
        position: absolute;
        top: 1%;
        right: 1%;
        z-index: 99; /* Below hamburger button but above background */
        transition: opacity 0.3s ease;
    }
    
    .mobile-hero-logo img {
        width: 200px;
        height: auto;
    }
    
    /* Hide the mobile hero logo when nav menu is active */
    .nav-menu.active ~ .mobile-hero-logo {
        opacity: 0;
        pointer-events: none;
    }
    
    /* OR if the structure doesn't support ~ selector, add a class to navbar */
    .navbar.menu-open .mobile-hero-logo {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
	.banner {
		min-height: 400px;
		background-position: center center;
	}
}

/* ===================================
   Welcome / Content Section
   =================================== */

.welcome {
	padding: 4rem 0;
	background: #fff;
}

.welcome-section {
	max-width: 900px;
	margin: 0 auto;
}

.welcome-content {
	margin-bottom: 2rem;
}

.welcome-content p {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
}

/* Styled List */
.styled-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.styled-list li {
	background: #f8f9fa;
	padding: 1rem;
	margin-bottom: 1rem;
	border-left: 5px solid #e97621;
	border-radius: 5px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.styled-list li:hover {
	transform: translateX(5px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Footer
   =================================== */

.footer {
  padding-bottom:2rem;
  background: #333;
}

.footer-content {
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}


.footer-column h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding: 3rem 0 1rem;
}

.footer-center{
  background:#fff;
  text-align: center;
}

.footer-column .gray {
	color: #ccc;
	line-height: 1.8;
}

.footer-column a {
	color: #ccc;
	display: inline-block;
	margin: 0.25rem 0;
}

.footer-column a:hover {
	color: #F66C53;
}

.lloyds-logo {
  max-width: 100%;
  height: auto;
  background: white;
  padding: 1rem;
  border-radius: 4px;
  margin-top:5em;
}

.footer-copyright {
	text-align: center;
	color: #999;
	font-size: 0.75rem;
	padding-top: 2rem;
	border-top: 1px solid #444;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet and smaller */
@media (max-width: 992px) {
	.container {
		padding: 0 1.5rem;
	}
	
	.nav-menu {
		gap: 0.25rem;
	}
	
	.nav-menu > li > a {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}
	
	.welcome {
		padding: 3rem 0;
	}
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.navbar {
		padding: 1rem;
		text-align: center;
	}
	
	.navbar-toggle {
		display: block;
		position: absolute;
		top: 1rem;
		left: 1rem;
		z-index: 101;
	}
	
	.nav-menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background: rgba(19, 19, 19, 0.98);
		flex-direction: column;
		align-items: flex-start;
		padding: 5rem 1rem 2rem;
		gap: 0;
		transition: left 0.3s ease;
		overflow-y: auto;
	}
	
	.nav-menu.active {
		left: 0;
	}
	
	/* Hide logo on mobile */
	.nav-menu > li:first-child {
		display: none;
	}
	
	.nav-menu > li:first-child a {
		padding: 0;
	}
	
	.nav-menu li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.nav-menu > li > a {
		padding: 1rem;
		width: 100%;
	}
	
	.nav-logo {
		margin-bottom: 0;
	}
	
	.has-dropdown .dropdown {
		position: static;
		display: none;
		background: rgba(0, 0, 0, 0.3);
		min-width: auto;
		width: 100%;
		box-shadow: none;
	}
	
	.has-dropdown:hover .dropdown {
		display: none;
	}
	
	.has-dropdown.active .dropdown {
		display: block;
	}
	
	.dropdown li a {
		padding: 0.75rem 1.5rem;
	}
	
	.banner {
		min-height: 400px;
	}
	
	.welcome {
		padding: 2rem 0;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.lloyds-logo{
		margin-top:0em;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}
	
	h3 {
		font-size: 1.25rem;
	}
	
	.banner {
		min-height: 350px;
	}
	
	.welcome-content p {
		font-size: 0.95rem;
	}
	
	.styled-list li {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
	
	.footer {
		padding: 2rem 0 1rem;
	}
	
	.footer-column h3 {
		font-size: 1.1rem;
	}
	
	.footer-copyright {
		font-size: 0.7rem;
	}
}

/* Very small screens */
@media (max-width: 320px) {
	.nav-menu {
		width: 90%;
	}
	
	.banner {
		min-height: 300px;
	}
	
	.styled-list li {
		font-size: 0.85rem;
	}
}

/* ===================================
   Products Page Styles
   =================================== */

.cover-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 1rem;
}

.cover-block {
	border: 1px solid #f2c18d;
	border-radius: 8px;
	padding: 1.5rem;
	background: #fffaf3;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-block:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(210, 119, 23, 0.15);
}

.cover-block h4 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	color: #d27717;
}

.cover-block p {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: #555;
}

.cover-block p:last-child {
	margin-bottom: 0;
}

.cover-block ul {
	margin: 0.5rem 0 0 0;
	padding-left: 0;
}

.cover-block li {
	margin-bottom: 0.6rem;
	font-size: 0.95rem;
}

.cover-block strong {
	display: block;
	margin-bottom: 0.75rem;
	color: #d27717;
	font-size: 1.05rem;
}

/* Key Features List */
.key-features {
	list-style: none;
	padding-left: 0;
	margin: 1.5rem 0;
}

.key-features li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555;
}

.key-features li::before {
	content: "➤";
	position: absolute;
	left: 0;
	top: 0;
	color: #d27717;
	font-weight: bold;
}

/* Checklist */
.checklist {
	list-style: none;
	padding-left: 0;
	margin: 1rem 0;
}

.checklist li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555;
}

.checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #d27717;
	font-weight: bold;
	font-size: 1.1rem;
}

/* CTA Button */
.cta-button {
	display: inline-block;
	padding: 14px 32px;
	background-color: #d27717;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 6px;
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
	margin-top: 1rem;
}

.cta-button:hover {
	background-color: #b86513;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(210, 119, 23, 0.3);
	color: white;
	text-decoration: none;
}

/* ===================================
   Team Page Styles
   =================================== */

.team-member {
	background: #f8f9fa;
	border-left: 5px solid #d27717;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-name {
	color: #d27717;
	font-size: 1.4rem;
	margin: 0 0 0.25rem 0;
	font-weight: 600;
}

.team-title {
	color: #d27717;
	font-size: 1rem;
	margin: 0 0 1.5rem 0;
	font-weight: 400;
	opacity: 0.85;
}

.team-bio {
	margin-bottom: 1.5rem;
}

.team-bio p {
	margin-bottom: 1rem;
	line-height: 1.7;
	color: #555;
}

.team-bio p:last-child {
	margin-bottom: 0;
}

.team-contact {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
	color: #d27717;
}

.team-contact a {
	color: #d27717;
	text-decoration: none;
	transition: color 0.3s ease;
}

.team-contact a:hover {
	color: #b86513;
	text-decoration: underline;
}

/* ===================================
   Legal & Policy Pages Styles
   =================================== */

.welcome-content h4 {
	color: #d27717;
	font-size: 1.2rem;
	margin: 2rem 0 1rem 0;
	font-weight: 600;
}

.welcome-content h4:first-of-type {
	margin-top: 1rem;
}

.welcome-content strong {
	color: #d27717;
}

.welcome-content ul {
	margin: 1rem 0 0rem 0rem;
	line-height: 1.8;
}

.welcome-content ul li {
	margin-bottom: 0.5rem;
	color: #555;
}

.welcome-content ol {
	margin: 1rem 0 1.5rem 2rem;
	line-height: 1.8;
}

.welcome-content ol li {
	margin-bottom: 0.5rem;
	color: #555;
}

.unstyled-ul{
	margin: 1rem 0 0rem 1rem!important;
}

/* Complaints Page Step Headers */
.step-header {
	color: #d27717;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 2rem 0 1rem 0;
}

/* Contact Details Box */
.contact-box {
	background: #f8f9fa;
	border-left: 5px solid #d27717;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 4px;
}

.contact-box p {
	margin: 0.25rem 0;
	line-height: 1.8;
}

/* Support Services Table */
.services-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.services-table th,
.services-table td {
	padding: 1rem;
	text-align: left;
	border: 1px solid #e0e0e0;
}

.services-table th {
	background: #f8f9fa;
	color: #d27717;
	font-weight: 600;
}

.services-table td {
	color: #555;
	line-height: 1.6;
}

.services-table a {
	color: #d27717;
	word-break: break-word;
}

/* Contact Page Map Image */
.contact-map {
	width: 100%;
	max-width: 800px;
	height: auto;
	margin: 1.5rem 0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Two Column Layout for Contact Page */
.contact-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.contact-column {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	border-left: 5px solid #d27717;
}

.contact-column h4 {
	color: #d27717;
	margin-top: 0;
	margin-bottom: 1rem;
}

/* Emergency Alert Box */
.emergency-alert {
	background: #fff5f5;
	border: 2px solid #e53e3e;
	border-radius: 8px;
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	font-weight: 600;
	color: #c53030;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 768px) {
	.cover-columns {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.cover-block {
		padding: 1.25rem;
	}
	
	.team-member {
		padding: 1.5rem;
	}
	
	.team-name {
		font-size: 1.25rem;
	}
	
	.contact-columns {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.services-table {
		font-size: 0.9rem;
	}
	
	.services-table th,
	.services-table td {
		padding: 0.75rem 0.5rem;
	}
	
	/* Stack table on very small screens */
	.services-table thead {
		display: none;
	}
	
	.services-table tr {
		display: block;
		margin-bottom: 1.5rem;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		overflow: hidden;
	}
	
	.services-table td {
		display: block;
		text-align: left;
		padding: 0.75rem 1rem;
		border: none;
		border-bottom: 1px solid #f0f0f0;
	}
	
	.services-table td:before {
		content: attr(data-label);
		font-weight: 600;
		color: #d27717;
		display: block;
		margin-bottom: 0.25rem;
	}
	
	.services-table td:last-child {
		border-bottom: none;
	}
}
}

@media (max-width: 480px) {
	.cover-block {
		padding: 1rem;
	}
	
	.team-member {
		padding: 1.25rem;
	}
	
	.team-name {
		font-size: 1.15rem;
	}
	
	.cta-button {
		display: block;
		text-align: center;
		width: 100%;
	}
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
	text-align: center;
}

.gray {
	color: #ccc;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}
