/* ----------------------
   CSS Variables
------------------------- */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003f84;
    --background-color: #f0f0f0;
    --text-color: #333;
    --white: #fff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ----------------------
   Base & Global Styles
------------------------- */
body.norbury-page {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ----------------------
   Section & Typography
------------------------- */
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

section h2 {
    font-size: clamp(24px, 2.5vw, 28px); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 15px;
}

section p {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ----------------------
   Grid Layout for Services
------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* ----------------------
   Service Box
------------------------- */
.service-box {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-box img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    object-fit: cover;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-box h2,
.service-box h3 {
    font-size: clamp(20px, 2.2vw, 24px);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-box p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #555;
    margin-bottom: 15px;
}

/* ----------------------
   Lists
------------------------- */
ul {
    padding: 0;
    margin: 0 0 15px 0;
    list-style-type: none;
}

ul li {
    background: url('https://via.placeholder.com/15') no-repeat left center;
    background-size: 15px 15px;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: clamp(14px, 1.8vw, 16px);
}

/* ----------------------
   Two-Column Layout
------------------------- */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.two-column div img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ----------------------
   Buttons
------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: clamp(14px, 1.8vw, 16px);
    transition: var(--transition);
}

.btn:hover,
.btn:focus {
    background-color: var(--secondary-color);
    outline: none;
}

/* ----------------------
   FAQ Styling
------------------------- */
.faq {
    margin: 40px 0;
}

.faq-title {
    font-size: clamp(24px, 2.5vw, 28px);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
}

.faq-grid {
    display: grid;
    gap: 15px;
}

details {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 15px;
    transition: var(--transition);
}

details[open] {
    background: #f9f9f9;
}

summary {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--primary-color);
    cursor: pointer;
    font-weight: bold;
}

details p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--text-color);
    margin-top: 10px;
    line-height: 1.6;
}

/* ----------------------
   Footer Styling
------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: var(--white);
    margin-top: 40px;
}

footer a {
    color: #66b2ff;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    text-decoration: underline;
    color: #99ccff;
}

/* ----------------------
   Responsive Design
------------------------- */
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .service-box img {
        height: 150px; /* Adjust height for smaller screens */
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}
/* ----------------------
 /* ----------------------
   Full-Width Sections
------------------------- */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.full-width .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------
   TrustIndex Widget
------------------------- */
.full-width iframe {
    width: 100%;
    height: 393px;
    border: 0;
}


   FAQ Section - Modern Design
------------------------- */
.faq {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.faq h2 {
    font-size: 2.5rem;
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: linear-gradient(135deg, #0056b3, #003f84);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #003f84, #0056b3);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: #f9f9f9;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content */
    padding: 0 20px;
}

/* ----------------------
   Additional Services Section
------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* ----------------------
   Benefits and Trends Sections
------------------------- */
.benefits.full-width,
.trends.full-width {
    background-color: var(--background-color);
}

.benefits ul,
.trends ul {
    padding-left: 20px;
}

.benefits li,
.trends li {
    margin-bottom: 10px;
    font-size: clamp(14px, 1.8vw, 16px);
}