﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

p, h1, h2 {
    overflow-wrap: break-word;
    line-height: 1.6;
}

.btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

/* Header */
.header {
    background: linear-gradient(90deg, #1e88e5, #ff6f00);
    color: white;
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    flex-wrap: wrap; /* allow wrapping */
    gap: 10px;
}
    .navbar-brand img {
        max-height: 100px;
        height: auto;
    }

    .navbar-brand span {
        display: block;
    }    

    .navbar-brand strong {
        font-size: 25px;
    }

    .navbar-brand small {
        font-size: 14px;
    }

/* Navigation */
.navbar-nav {
    gap: 10px;
}

    .navbar-nav .nav-link {
        font-weight: bold;
        transition: color 0.2s ease;
    }

    .navbar-nav .nav-link:hover {
        text-decoration: underline;
    }

img {
    max-width: 100%;
    height: auto;
}

.bg-soft-blue {
    background-color: rgba(30,136,229,0.08);
}

.d-flex.align-items-start {
    transition: transform 0.15s ease, color 0.15s ease;
}

    .d-flex.align-items-start:hover {
        transform: translateX(4px);
        color: #1e88e5;
    }

.card {
    border-radius: 8px;
}

.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        border-color: #1e88e5; /* blue accent */
    }

/* Card base */
.testimonial-card {
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;

    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

/* Centre (active) card */
.active-card {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    opacity: 1;
    border: 1px solid rgba(30,136,229,0.3);
}

/* Text */
.testimonial-text {
    font-style: italic;
    color: #1e88e5;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 10px;
    color: #6a1b9a;
}


.testimonial-box {
    max-width: 700px;
}

    /* Decorative quote marks */
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 2rem;
        color: #e0e0e0;
        position: absolute;
    }

.accordion-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

    .accordion-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

.accordion-button {
    font-weight: 600;
    transition: background-color 0.2s ease;
}

    .accordion-button:not(.collapsed) {
        background-color: rgba(30,136,229,0.1);
        color: #1e88e5;
    }

.card-body {
    padding: 1.75rem;
} 

.form-label {
    font-weight: 600;
}

.form-control {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control:focus {
        border-color: #1e88e5;
        box-shadow: 0 0 0 0.2rem rgba(30,136,229,0.15);
    }

footer {
    margin-top: 2rem;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

.site-footer {
    background: linear-gradient(90deg, #1e88e5, #ff6f00);
    color: white;
    padding: 30px 0;
    position: relative;
}

/* Branding */
.footer-brand {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-tagline {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

/* Copyright */
.footer-copy {
    font-size: 13px;
    opacity: 0.9;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #1e88e5;
    color: white;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    /* Show button when scrolling */
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    /* Hover effect */
    .back-to-top:hover {
        background-color: #1565c0;
        transform: translateY(-2px);
    }

@media (max-width: 576px) {
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        align-items: flex-start !important;
    }
    .carousel-item .col-md-4:not(:nth-child(2)) {
        display: none;
    }
}


/** {
    outline: 1px solid red;
}*/