* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

a {
    background-color: transparent;
    text-decoration: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

ul, ol {
    list-style: none;
}

header {
    background: white;
    color: #333;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand-section {
    flex: 0 0 auto;
}

.brand-name {
    font-size: 1.9rem;
    font-weight: 300;
    color: #5a8f7b;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.brand-name strong {
    font-weight: 700;
    color: #5a8f7b;
}

.name-section {
    text-align: left;
    flex: 0 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1 {
    font-size: 1.6rem;
    /*margin-bottom: 0.3rem;*/
    color: #5a8f7b;
    font-weight: 600;
}

.tagline {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

nav {
    display: none;
}

section {
    padding: 4rem 0;
    margin: 0;
}

section:nth-child(even) {
    background: #f8f9fa;
}

h2 {
    font-size: 2rem;
    font-weight:normal;
    margin-bottom: 1.5rem;
    color: #5a8f7b;
}

/*

.hero h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2.8rem;
}


.hero h2 {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 2.4rem;
}
*/
/* Alternative font options - uncomment one to use:
.hero h2 {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: 2.3rem;
}

*/

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

/* Carousel Images - Standard Resolution (2400x1200px) */
.carousel-slide:nth-child(1) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature1.jpg');
}

.carousel-slide:nth-child(2) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature2.jpg');
}

.carousel-slide:nth-child(3) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature3.jpg');
}

.carousel-slide:nth-child(4) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature4.jpg');
}

.carousel-slide:nth-child(5) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature5.jpg');
}

.carousel-slide:nth-child(6) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature6.jpg');
}

.carousel-slide:nth-child(7) {
    background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                url('images/nature7.jpg');
}

/* Carousel Images - HiDPI/Retina (4800x2400px) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-slide:nth-child(1) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature1@2x.jpg');
    }

    .carousel-slide:nth-child(2) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature2@2x.jpg');
    }

    .carousel-slide:nth-child(3) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature3@2x.jpg');
    }

    .carousel-slide:nth-child(4) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature4@2x.jpg');
    }

    .carousel-slide:nth-child(5) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature5@2x.jpg');
    }

    .carousel-slide:nth-child(6) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature6@2x.jpg');
    }

    .carousel-slide:nth-child(7) {
        background-image: linear-gradient(rgba(90, 143, 123, 0.3), rgba(61, 107, 92, 0.3)),
                          url('images/nature7@2x.jpg');
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #3d6b5c;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background: #5a8f7b;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
    color: #5a8f7b;
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qualifications-list {
    list-style: none;
    margin-top: 1rem;
}

.qualifications-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.qualifications-list li:before {
    content: "✓ ";
    color: #5a8f7b;
    font-weight: bold;
    margin-right: 0.5rem;
}

.quals-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quals-column,
.contact-column {
    min-width: 0;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-item {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item strong {
    color: #5a8f7b;
    min-width: 100px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-logos {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.footer-logos .bacp {
    padding: 10px;
    border-radius: 5px;
    background: #ffffff;
}

.footer-logos .otcb {
    /*background: #ff0000;*/
}


.footer-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.logo-item {
    flex: 0 1 auto;
}

.footer-logos img {
    max-width: 190px;
    height: auto;
}

.footer-logos .otcb img {
    max-width: 140px;
    height: auto;
}

.footer-logos a {
    color: #5a8f7b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-logos a:hover {
    color: #3d6b5c;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .name-section {
        text-align: center;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .quals-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}