/* Reset and Basic Styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background-color: #0a1f44;
    color: white;
    padding: 20px 0;
}

header h1 {
    text-align: center;
    font-size: 2em;
    margin: 0;
}

.back-to-home {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.back-to-home:hover {
    background-color: #003366;
}

section {
    padding: 20px;
    margin: 20px 0;
}

/* Box Structure */
.service-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Specific Section Styles */
#about, #team, #gmc-details, #gpa-details, #gtl-details, #liability-details, #fire-details, #iar-details, #ear-details, #car-details, #marine-details, #cyber-details, #stock-details, #property-details {
    padding: 20px;
    margin: 20px 0;
}

#about h2, #team h2, #gmc-details h2, #gpa-details h2, #gtl-details h2, #liability-details h2, #fire-details h2, #iar-details h2, #ear-details h2, #car-details h2, #marine-details h2, #cyber-details h2, #stock-details h2, #property-details h2 {
    color: #0a1f44;
    font-size: 1.8em;
    margin-bottom: 20px;
}

#about ul, #team ul, #gmc-details ul, #gpa-details ul, #gtl-details ul, #liability-details ul, #fire-details ul, #iar-details ul, #ear-details ul, #car-details ul, #marine-details ul, #cyber-details ul, #stock-details ul, #property-details ul {
    list-style: none;
    padding: 0;
}

#about li, #team li, #gmc-details li, #gpa-details li, #gtl-details li, #liability-details li, #fire-details li, #iar-details li, #ear-details li, #car-details li, #marine-details li, #cyber-details li, #stock-details li, #property-details li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #0a1f44;
    color: white;
    padding: 10px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1em;
}
footer {
    background-color: white;
    color: #333;
    padding: 30px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-left img {
    height: 80px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.footer-right {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links li a,
.footer-contact li {
    color: #333;
    text-decoration: none;
    font-size: 1em;
}

.footer-contact li i {
    margin-right: 10px;
    color: #f07f3e;
}

.footer-contact li i.fa-map-marker {
    vertical-align: top;
}

footer a:hover {
    text-decoration: underline;
}