@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ========================================
   GOSIAME CONSULTING – MAIN STYLESHEET
   Colours: Primary #353B46 (Blue), Secondary #D02B2F (Red)
   Fonts: Montserrat (headings and body)
   ======================================== */

/* ---------- CSS RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- BASE TYPOGRAPHY ---------- */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #F8F9FA;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #353B46;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 3rem;
}
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: #353B46;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D02B2F;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    background-color: #353B46;
    color: white;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid #353B46;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #D02B2F;
    border-color: #D02B2F;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: #D02B2F;
    color: white;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid #D02B2F;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #353B46;
    border-color: #353B46;
    color: white;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #353B46;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid #353B46;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline:hover {
    background-color: #353B46;
    color: white;
}

.btn-link {
    display: inline-block;
    color: #D02B2F;
    font-weight: 600;
    text-decoration: none;
}

.btn-link:hover {
    color: #353B46;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-hero-primary {
    display: inline-block;
    background-color: #D02B2F;
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: white;
    color: #353B46;
}

.btn-hero-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: #353B46;
}

/* ---------- HEADER & NAVIGATION ---------- */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.transparent {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.site-header.inner-hero-overlay {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.site-header.transparent .nav-desktop .nav-menu a {
    color: white;
}

.site-header.transparent .nav-desktop .nav-menu a:hover {
    color: #D02B2F;
}

.top-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95rem;
}

.top-contact-left,
.top-contact-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-contact-bar a {
    color: #353B46;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-contact-bar a:hover {
    color: #D02B2F;
}

.site-header.transparent .top-contact-bar a {
    color: white;
}

.site-header.transparent .top-contact-bar a:hover {
    color: #D02B2F;
}

.site-header.inner-hero-overlay .top-contact-bar a {
    color: white;
}

.site-header.inner-hero-overlay .top-contact-bar a:hover {
    color: #D02B2F;
}

.site-header.inner-hero-overlay .header-inner {
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.header-inner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -1;
    background: transparent;
}

.site-header:not(.transparent):not(.inner-hero-overlay) .header-inner::before,
.site-header.inner-hero-overlay .header-inner::before {
    background: white;
}

.logo img {
    height: 50px;
    width: auto;
}

.home-logo-white {
    filter: brightness(0) invert(1);
}

.nav-desktop .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-desktop .nav-menu a {
    font-weight: 600;
    color: #353B46;
}

.nav-desktop .nav-menu a:hover,
.nav-desktop .nav-menu a.active {
    color: #D02B2F;
}

/* Keep Contact nav button text visible in all states */
.nav-desktop .nav-menu a.btn-primary {
    color: white;
    background-color: #353B46;
    border-color: #353B46;
}

.nav-desktop .nav-menu a.btn-primary:hover {
    color: white;
    background-color: #D02B2F;
    border-color: #D02B2F;
}

.site-header.transparent .nav-desktop .nav-menu a.btn-primary,
.site-header.inner-hero-overlay .nav-desktop .nav-menu a.btn-primary {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #353B46;
    position: relative;
    transition: all 0.3s ease;
}

.site-header.transparent .hamburger {
    background-color: white;
}

.site-header.transparent .hamburger::before,
.site-header.transparent .hamburger::after {
    background-color: white;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #353B46;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #353B46;
    z-index: 999;
    padding-top: 100px;
    overflow-y: auto;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-menu {
    list-style: none;
    text-align: center;
    padding: 0;
}

.nav-mobile-menu li {
    margin: 20px 0;
}

.nav-mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-mobile-menu a:hover {
    color: #D02B2F;
}

/* ---------- FULL-SCREEN HERO ---------- */
.hero-fullscreen {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/all-images/precision.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-fullscreen .container {
    position: relative;
    z-index: 2;
}

.hero-fullscreen h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-fullscreen p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- PAGE HERO (HALF SCREEN) ---------- */
.page-hero {
    height: 460px;
    background-image: url('../images/page-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 110px;
    box-sizing: border-box;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Page-specific hero images (excluding home page) */
body.page-about .page-hero {
    background-image: url('../images/all-images/team-brainstorming-session.jpg');
}

.mission-vision h2 {
    color: #D02B2F;
}

/* About: founder photo + bio */
.founder-bio-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    gap: 50px;
    align-items: start;
}

.founder-photo-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3 / 4;
    max-width: 420px;
    width: 100%;
    margin: 0;
    background: #E8EAED;
}

.founder-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .founder-bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .founder-photo-wrap {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

body.page-services .page-hero {
    background-image: url('../images/all-images/services8.jpg');
}

body.page-university-strategy .page-hero {
    background-image: url('../images/all-images/strategy-planning1.jpg');
}

body.page-case-studies .page-hero {
    background-image: url('../images/all-images/case-study3.jpg');
}

body.page-case-study-ump .page-hero,
body.page-case-study-unizulu-ri .page-hero,
body.page-case-study-unizulu-library .page-hero {
    background-image: url('../images/all-images/case-study3.jpg');
}

/* Service detail pages inherit their category hero image */
body.page-service-institutional-swot .page-hero,
body.page-service-pestel-analysis .page-hero,
body.page-service-financial-diagnostic .page-hero,
body.page-service-pillar-workshop .page-hero,
body.page-service-kpi-design .page-hero,
body.page-service-full-strategic-plan .page-hero {
    background-image: url('../images/all-images/strategy-planning1.jpg');
}

body.page-service-research-swot .page-hero,
body.page-service-research-maturity .page-hero,
body.page-service-funding-landscape .page-hero,
body.page-service-nrf-enhancement .page-hero,
body.page-service-research-income .page-hero,
body.page-service-grants-optimisation .page-hero {
    background-image: url('../images/all-images/research%26innovation1.jpg');
}

body.page-service-library-swot .page-hero,
body.page-service-collection-health .page-hero,
body.page-service-rdm-design .page-hero,
body.page-service-open-access .page-hero,
body.page-service-learning-space .page-hero,
body.page-service-digital-preservation .page-hero {
    background-image: url('../images/all-images/library%26infoservices.jpg');
}

/* Service detail page readability + red accent treatment */
body[class*="page-service-"] .page-hero + section h2 {
    position: relative;
    padding-left: 14px;
}

body[class*="page-service-"] .page-hero + section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 4px;
    height: 1.1em;
    border-radius: 4px;
    background: #D02B2F;
}

body[class*="page-service-"] .page-hero + section p + h2 {
    margin-top: 42px;
}

body[class*="page-service-"] .page-hero + section ul {
    margin: 16px 0 42px;
    padding: 18px 22px 18px 44px;
    border-left: 4px solid #D02B2F;
    border-radius: 8px;
    background: #F8F9FA;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

body[class*="page-service-"] .page-hero + section li {
    margin-bottom: 10px;
    line-height: 1.55;
}

body[class*="page-service-"] .page-hero + section li::marker {
    color: #D02B2F;
}

body.page-resources .page-hero {
    background-image: url('../images/all-images/resourceslibrary.jpg');
}

body.page-contact .page-hero {
    background-image: url('../images/all-images/telephone1.jpg');
}

/* ---------- CLIENT LOGOS ---------- */
.client-logos {
    padding: 60px 0;
    text-align: center;
    background-color: white;
}

.logos-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #7F8C8D;
    margin-bottom: 30px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.logo-text {
    font-weight: 600;
    color: #2C3E50;
    font-size: 1rem;
}

/* ---------- CARDS (Services, Benefits, Values) ---------- */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.teaser-card, .benefit-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.teaser-card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.teaser-card i, .benefit-card i {
    font-size: 2.5rem;
    color: #D02B2F;
    margin-bottom: 20px;
}

.teaser-card h3, .benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #353B46;
}

.teaser-card p, .benefit-card p {
    color: #2C3E50;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Slightly taller category cards on main services page */
body.page-services .teaser-card {
    min-height: 330px;
}

/* Match service overview cards to case-study card styling */
body.page-services .teaser-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-services .teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.page-services .teaser-card .service-card-visual {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A2A4A;
}

body.page-services .teaser-card:nth-child(2n) .service-card-visual {
    background: #2C3E50;
}

body.page-services .teaser-card:nth-child(3n) .service-card-visual {
    background: #7F8C8D;
}

body.page-services .teaser-card .service-card-visual i {
    color: white;
    font-size: 2.8rem;
    margin: 0;
}

body.page-services .teaser-card .teaser-card-content {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

body.page-services .teaser-card .teaser-card-content h3 {
    margin-bottom: 12px;
}

body.page-services .teaser-card .teaser-card-content h3,
body.page-services .teaser-card .teaser-card-content h3 a {
    color: #D02B2F;
}

body.page-services .teaser-card .teaser-card-content h3 a:hover {
    color: #353B46;
}

body.page-services .teaser-card .teaser-card-content p {
    margin-bottom: 0;
}

body.page-services .teaser-card .teaser-card-content .btn-link {
    margin-top: auto;
    padding-top: 16px;
}

/* Service category pages: main-services look, three columns (3 + 3 or single row of 3) */
.teaser-grid.teaser-grid--category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 992px) {
    .teaser-grid.teaser-grid--category {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .teaser-grid.teaser-grid--category {
        grid-template-columns: 1fr;
    }
}

.teaser-card.teaser-card--category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 330px;
}

.teaser-card.teaser-card--category h3 {
    margin-bottom: 10px;
}

.teaser-card.teaser-card--category .teaser-card__meta {
    font-size: 0.9rem;
    color: #7F8C8D;
    margin-bottom: 12px;
}

.teaser-card.teaser-card--category .teaser-card__desc {
    color: #2C3E50;
    flex-grow: 1;
    margin-bottom: 0;
}

.teaser-card.teaser-card--category .teaser-card__cta {
    margin-top: auto;
    padding-top: 16px;
}

.teaser-card ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
    font-size: 0.9rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ---------- NETWORKED MODEL ---------- */
.bg-light {
    background-color: #F0F2F5;
}

.networked-teaser, .networked-model {
    padding: 60px 0;
}

.model-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.visual-step {
    background: #353B46;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
}

.visual-step small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.visual-arrow {
    font-size: 2rem;
    color: #D02B2F;
}

.model-benefits {
    list-style: none;
    max-width: 600px;
    margin: 30px auto;
}

.model-benefits li {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-benefits i {
    color: #D02B2F;
}

.associate-list {
    text-align: center;
    margin-top: 30px;
}

.associate-list span {
    display: inline-block;
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

/* ---------- SERVICE FAMILY SECTIONS ---------- */
.service-family {
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 0.9rem;
    color: #7F8C8D;
    margin: 0;
}

/* ---------- CASE STUDIES ---------- */
.case-study-detail {
    padding: 60px 0;
}

.case-tag {
    background: #D02B2F;
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.case-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: #D02B2F;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 0;
}

.contact-form-col {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info-col {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 8px;
}

.contact-form-col input,
.contact-form-col select,
.contact-form-col textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form-col label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#contactForm button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 22px;
    border: none;
    border-radius: 4px;
    background: #D02B2F;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

#contactForm button[type="submit"]:hover,
#contactForm button[type="submit"]:focus-visible {
    background: #353B46;
}

#contactForm button[type="submit"]:active {
    transform: translateY(1px);
}

#contactForm button[type="submit"]:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.direct-contact p {
    margin: 15px 0;
}

.direct-contact i {
    width: 30px;
    color: #D02B2F;
}

.response-promise {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

/* ---------- GATED CONTENT / RESOURCES ---------- */
.gated-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin: 50px 0;
}

.gated-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gated-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: linear-gradient(135deg, #353B46 0%, #2C3E50 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background-image: url('../images/all-images/strategy7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #BDC3C7;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.85);
    z-index: 0;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #BDC3C7;
}

.footer-col a:hover {
    color: #D02B2F;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo-white {
    filter: brightness(0) invert(1);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-form button {
    background: #D02B2F;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.newsletter-status-section {
    padding: 24px 0 10px;
}

.newsletter-status-message {
    margin: 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid transparent;
}

.newsletter-status-message.status-success {
    background: #eef6f0;
    border-color: #7db68b;
    color: #204a2f;
}

.newsletter-status-message.status-error {
    background: #fdeeee;
    border-color: #D02B2F;
    color: #8d1f22;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: white;
}

.footer-bottom-links a:hover {
    color: #D02B2F;
}

/* ---------- THANK YOU PAGE ---------- */
.thank-you {
    padding: 100px 0;
    text-align: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.thank-you-box i {
    font-size: 4rem;
    color: #D02B2F;
    margin-bottom: 20px;
}

.thank-you-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .top-contact-bar {
        display: none;
    }

    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-fullscreen h1 {
        font-size: 2rem;
    }
    
    .hero-fullscreen p {
        font-size: 1rem;
    }
    
    .page-hero {
        height: 300px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .contact-grid, .gated-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---------- UTILITY CLASSES ---------- */
.text-center {
    text-align: center;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #D02B2F;
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Fallback base colour for hero backgrounds if images are missing */
.hero-fullscreen,
.page-hero {
    background-color: #353B46;
}

/* Sticky sub-navigation on services page */
.sticky-subnav {
    position: sticky;
    top: 80px;
    background: white;
    border-bottom: 1px solid #E0E0E0;
    padding: 15px 0;
    z-index: 98;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sticky-subnav .container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.subnav-link {
    font-weight: 600;
    color: #1A2A4A;
    padding: 5px 0;
}

.subnav-link:hover {
    color: #D02B2F;
}

@media (max-width: 768px) {
    .sticky-subnav {
        top: 60px;
    }
    .sticky-subnav .container {
        gap: 15px;
    }
    .subnav-link {
        font-size: 0.85rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #353B46;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #F0F2F5;
    color: #D02B2F;
}

/* Keep homepage dropdown items visible over transparent header */
.site-header.transparent .nav-desktop .nav-menu .dropdown-menu a {
    color: #353B46;
}

.site-header.transparent .nav-desktop .nav-menu .dropdown-menu a:hover {
    color: #D02B2F;
}

/* Mobile: disable dropdown, show as regular links */
@media (max-width: 768px) {
    .dropdown .dropdown-menu {
        display: none !important;
    }
    
    .dropdown .fa-chevron-down {
        display: none;
    }
}

/* Homepage dropdown panel styling (same behaviour as inner pages) */
.site-header.transparent .nav-desktop .nav-menu .dropdown-menu {
    background: white;
}

.site-header.transparent .nav-desktop .nav-menu .dropdown-menu a:hover {
    background: #F0F2F5;
}

/* Ensure the chevron icon on homepage stays white (matches other nav links) */
.site-header.transparent .dropdown > a {
    color: white;
}

.site-header.transparent .dropdown > a i {
    color: white;
}

/* Client Logos - Logo Items */
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    gap: 10px;
    text-align: center;
}

.client-logo {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-weight: 600;
    color: #2C3E50;
    font-size: 1rem;
    text-align: center;
    display: block;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .client-logo {
        max-height: 40px;
        max-width: 120px;
    }
    .logo-text {
        font-size: 0.85rem;
    }
    .logos-grid {
        gap: 30px;
    }
}

/* ---------- CASE STUDIES PAGE – GRID (below hero) ---------- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.case-study-card .card-content {
    padding: 25px;
}

.case-category {
    display: inline-block;
    background: #D02B2F;
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.case-study-card .btn-link {
    color: #D02B2F;
}

.case-study-card .btn-link:hover {
    color: #353B46;
}

.case-study-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.case-study-card p {
    color: #2C3E50;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---------- CASE STUDY DETAIL PAGES ---------- */
.case-study-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.case-study-hero-content .case-category {
    margin-bottom: 12px;
}

.stats-bar {
    background: #353B46;
    color: white;
    padding: 44px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D02B2F;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    margin-top: 8px;
    opacity: 0.92;
}

.case-study-section {
    padding: 60px 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 40px;
    align-items: start;
}

.case-study-label span {
    display: block;
    font-weight: 700;
    color: #D02B2F;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
}

.case-study-content ul {
    margin: 15px 0 15px 1.25rem;
    padding: 0;
}

.case-study-content li {
    margin-bottom: 8px;
    color: #2C3E50;
}

.case-study-content p {
    color: #2C3E50;
}

.testimonial-quote {
    margin-top: 28px;
    padding: 24px 26px;
    background: #F0F2F5;
    border-left: 4px solid #D02B2F;
    border-radius: 0 8px 8px 0;
}

.testimonial-quote .fa-quote-left {
    color: #D02B2F;
    font-size: 1.35rem;
    margin-bottom: 12px;
    display: block;
}

.testimonial-quote p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-quote cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-weight: 600;
    color: #353B46;
    font-size: 0.95rem;
}

.outcome-highlight {
    margin-top: 28px;
    padding: 22px 24px;
    background: #F0F2F5;
    border-radius: 8px;
    border-left: 4px solid #353B46;
}

.outcome-highlight p {
    margin-bottom: 0;
    color: #2C3E50;
}

.related-services {
    padding: 60px 0;
}

.related-services .container > h3 {
    margin-bottom: 22px;
}

.related-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

a.service-tag {
    display: inline-block;
    padding: 10px 18px;
    background: white;
    border: 2px solid #353B46;
    color: #353B46;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.related-services.bg-light a.service-tag {
    background: #F8F9FA;
}

a.service-tag:hover {
    background: #353B46;
    color: white;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Service Category Page - Vibrant Accordion Styles */

.service-count-badge {
    display: inline-block;
    background: #1A2A4A;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-count-badge i {
    margin-right: 8px;
    color: #D02B2F;
}

.gold-gradient-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #D02B2F, #1A2A4A, #D02B2F, transparent);
    width: 150px;
    margin: 20px auto 40px;
    border-radius: 3px;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.services-accordion .accordion-item {
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.services-accordion .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.services-accordion .accordion-header:hover {
    background-color: #F5F5F5;
    padding-left: 15px;
    padding-right: 15px;
}

.services-accordion .accordion-title {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.services-accordion .service-icon {
    color: #D02B2F;
    font-size: 1.2rem;
    width: 28px;
}

.services-accordion .service-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A2A4A;
    transition: color 0.2s ease;
}

.services-accordion .accordion-header:hover .service-name {
    color: #D02B2F;
}

.services-accordion .service-meta {
    font-size: 0.85rem;
    color: #D02B2F;
    font-weight: 500;
    background: rgba(208, 43, 47, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.services-accordion .accordion-icon {
    color: #D02B2F;
    transition: transform 0.3s ease;
    margin-right: 15px;
    font-size: 0.9rem;
}

.services-accordion .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.services-accordion .accordion-item.active .accordion-header {
    border-top: 2px solid #D02B2F;
    margin-top: -1px;
    background-color: #FAFAFA;
}

.services-accordion .accordion-content {
    display: none;
    padding: 0 0 25px 40px;
    color: #2C3E50;
    line-height: 1.6;
}

.services-accordion .accordion-item.active .accordion-content {
    display: block;
}

.services-accordion .accordion-content p {
    margin-bottom: 15px;
}

.services-accordion .accordion-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.services-accordion .accordion-content li {
    margin-bottom: 8px;
    color: #2C3E50;
}

@media (max-width: 768px) {
    .services-accordion .accordion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .services-accordion .accordion-icon {
        position: absolute;
        right: 15px;
        top: 22px;
    }

    .services-accordion .accordion-title {
        padding-right: 35px;
    }

    .services-accordion .accordion-content {
        padding-left: 0;
    }

    .services-accordion .service-icon {
        display: none;
    }

    .service-count-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
}

/* Service detail pages: category return links + back-to-top control */
body[class*="page-service-"] .service-page-links {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

body[class*="page-service-"] .service-page-back-link {
    color: #D02B2F;
    font-weight: 700;
}

body[class*="page-service-"] .service-page-back-link:hover {
    color: #353B46;
}

.back-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #D02B2F;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.25s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #353B46;
}

.back-to-top-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .back-to-top-btn {
        right: 16px;
        bottom: 16px;
    }
}
