:root {
    --accent-blue: #21479e; /* Consistent blue color */
    --text-dark: #333;
    --text-medium: #666;
    --bg-light-grey: #f0f2f5;
    --footer-bg-blue: #2B438D; /* Dark blue from footer screenshot */
    --theme-blue: #333; /* Default menu text color, used for non-active header links */
    --form-bg-grey: #f8f8f8; /* Background for the enquiry form container */
    --form-input-border: #ccc; /* Light grey for input underlines */
    --form-input-placeholder: #888; /* Placeholder text color */
    --red-star: #dc3545; /* Red color for required star */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; } /* For smooth scrolling to sections */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff; /* Default white background for this page */
    font-size: 16px; /* Base font size for rem units (mobile first) */
    transition: overflow 0.3s ease; /* Smooth transition for body overflow */
}
body.menu-open { overflow: hidden; } /* Prevent scrolling when mobile menu is open */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reusable Section Heading Styles */
.section-heading {
    font-size: 1.875rem; /* 30px - mobile first */
    font-weight: 400; /* Regular */
    color: var(--accent-blue);
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1rem; /* Adjusted to Regular */
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}





/* Image Placeholder Styling */
img {
    background-color: #e0e0e0; display: block; text-align: center; color: #888; font-size: 0.9em; font-family: sans-serif; object-fit: contain; padding: 5px; min-width: 50px; min-height: 50px;
}



/* --- Hero Section (Certificates Page Specific) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 280px;
    background-image: url('../images/contact-hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white; /* Explicitly set color for hero */
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
}

/* --- Contact Section --- */
.contact-section {
    padding: 60px 20px;
}
.contact-grid {
    display: grid;
    /* Mobile First: 1 column */
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Contact Info Column --- */
.contact-info {
    color: var(--text-dark-blue);
}
.contact-info .section-title {
    font-size: 3rem; /* 48px */
    color: #20479E;
    margin-bottom: 20px;
}
.contact-info .section-subtitle {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 25px;
    color: #3A3A3A;
    line-height: 1.6;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.06rem; /* 17px */
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-top: 5px;
    
    /* === THIS IS THE FIX === */
    /* This rule specifically removes the grey background from these icons */
    background-color: transparent !important; 
}

.info-text a {
    color: inherit;
    text-decoration: none;
}
.info-text a:hover {
    text-decoration: underline;
}

/* --- Enquiry Form Column --- */
.enquiry-form {
    background-color: var(--form-bg);
    padding: 30px 20px;
    border-radius: 5px;
}
.enquiry-form .section-title {
    font-size: 3rem; /* 48px */
    color: #20479E;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: bold;
    font-size: 1.06rem; /* 17px */
    margin-bottom: 10px;
}
.form-group .required-star {
    color: red;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    width: 150px;
    height: 50px;
    background-color: #20479E;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: #1a3b8b;
}

/* ============================================= */
/* ============= RESPONSIVE TABLET ============= */
/* ============================================= */
@media (min-width: 768px) {
    .contact-grid {
        /* 2 columns on tablet and up */
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}


/* --- Media Queries --- */
@media (min-width: 768px) {
    header nav { display: flex; }
    .hamburger-menu { display: none; }
    .logo { margin: 0; }
    header .container { justify-content: space-between; }
    .section-heading { font-size: 2.25rem; }
    .section-subtitle { font-size: 1.15rem; }
    .hero-section { height: 350px; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.25rem; }
    .contact-page-content .contact-grid { grid-template-columns: 1fr 1.5fr; text-align: left; gap: 40px; }
    .contact-info-col h2 { text-align: left; }
    .enquiry-form-col h2 { text-align: left; }
    .enquiry-form-col button[type="submit"] { justify-self: start; }
    footer { min-height: 400px; }
    footer .container { grid-template-columns: repeat(2, 1fr); text-align: left; }
    footer .footer-logo-container { max-height: 80px; grid-column: 1 / -1; margin-top: 20px; text-align: center; }
    footer .copyright { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .section-heading { font-size: 2.75rem; }
    .section-subtitle { font-size: 1.25rem; }
    .hero-section { height: 420px; }
    .hero-content h1 { font-size: 4.5rem; }
    .hero-content p { font-size: 1.35rem; }
    .contact-page-content .contact-grid { grid-template-columns: 1fr 1.8fr; gap: 80px; }
    .enquiry-form-col button[type="submit"] { justify-self: start; }
    footer { min-height: 500px; }
    footer .container { grid-template-columns: repeat(4, 1fr); }
    footer .footer-col { text-align: left; }
    footer .footer-logo-container { max-height: 100px; grid-column: span 1; order: 5; margin-top: 0; text-align: left; }
    footer .copyright { grid-column: 1 / -1; order: 6; }
}