/* ==============================================
   RnR Psychology — Shared Stylesheet
   Apply to all 7 pages via <link rel="stylesheet" href="styles.css">
   and remove the <style> block from each HTML file.
   ============================================== */

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

/* Variables */
:root {
    --primary-blue: #009BD9;
    --dark-bg: #000000;
    --light-bg: #ffffff;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --grey: #f8f8f8;
    --border-light: rgba(0, 0, 0, 0.08);
}

/* Base */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 300;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==============================================
   HAMBURGER MENU
   ============================================== */

.hamburger-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.hamburger-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 155, 217, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 155, 217, 0.3);
}

.hamburger-btn:hover {
    background: #007fb5;
    transform: scale(1.05);
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 999;
    transition: right 0.4s ease;
    padding: 100px 40px 40px;
    overflow-y: auto;
}

.menu-overlay.active {
    right: 0;
}

.menu-nav {
    list-style: none;
}

.menu-nav li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.menu-overlay.active .menu-nav li {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays — enough for all sub-items */
.menu-overlay.active .menu-nav li:nth-child(1)  { transition-delay: 0.10s; }
.menu-overlay.active .menu-nav li:nth-child(2)  { transition-delay: 0.14s; }
.menu-overlay.active .menu-nav li:nth-child(3)  { transition-delay: 0.18s; }
.menu-overlay.active .menu-nav li:nth-child(4)  { transition-delay: 0.22s; }
.menu-overlay.active .menu-nav li:nth-child(5)  { transition-delay: 0.26s; }
.menu-overlay.active .menu-nav li:nth-child(6)  { transition-delay: 0.30s; }
.menu-overlay.active .menu-nav li:nth-child(7)  { transition-delay: 0.34s; }
.menu-overlay.active .menu-nav li:nth-child(8)  { transition-delay: 0.38s; }
.menu-overlay.active .menu-nav li:nth-child(9)  { transition-delay: 0.42s; }
.menu-overlay.active .menu-nav li:nth-child(10) { transition-delay: 0.46s; }
.menu-overlay.active .menu-nav li:nth-child(11) { transition-delay: 0.50s; }
.menu-overlay.active .menu-nav li:nth-child(12) { transition-delay: 0.54s; }
.menu-overlay.active .menu-nav li:nth-child(13) { transition-delay: 0.58s; }

.menu-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-nav a:hover {
    color: var(--primary-blue);
    padding-left: 15px;
}

/* Section label inside nav (e.g. "Specialised Pages") */
.menu-nav .menu-section-label {
    font-size: 0.7rem;
    color: var(--primary-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0;
    border-bottom: none;
    display: block;
}

/* Sub-items (specialist pages) */
.menu-nav li.sub-item a {
    font-size: 1rem;
    padding-left: 12px;
    opacity: 0.75;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.menu-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease 0.5s;
}

.menu-overlay.active .menu-contact {
    opacity: 1;
    transform: translateX(0);
}

.menu-contact h3 {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.menu-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.menu-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.menu-contact a:hover {
    color: var(--primary-blue);
}


/* ==============================================
   HERO
   ============================================== */

.hero {
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
	
}

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

/* Background image overlay per slide — set via inline style="--slide-bg: url(...)" on each .hero-slide */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--slide-bg) center / cover no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.service-type {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.8;
    opacity: 0.85;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #007fb5;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero navigation dots */
.hero-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--primary-blue);
    width: 12px;
    height: 12px;
}

/* Hero progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    background: var(--primary-blue);
    width: 0;
    transition: width 0.1s linear;
}


/* ==============================================
   SHARED SECTION LAYOUT
   ============================================== */

section {
    padding: 120px 40px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .label {
    font-size: 0.75rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.section-header .underline {
    width: 60px;
    height: 1px;
    background: var(--primary-blue);
    margin: 0 auto 25px;
}

.section-header p {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}


/* ==============================================
   ABOUT
   ============================================== */

.about {
    background: var(--light-bg);
    padding: 20px 40px 120px 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.9;
    opacity: 0.8;
    font-weight: 300;
}

.credentials {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    opacity: 0.6;
    font-weight: 300;
}

.about-image {
    background: linear-gradient(135deg, rgba(0, 155, 217, 0.08) 0%, rgba(0, 155, 217, 0.02) 100%);
    height: 450px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}


/* ==============================================
   SERVICES — SQUARE CARDS
   ============================================== */

.services {
    background: var(--grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 2px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 155, 217, 0.12);
}

.service-card-img {
    background: rgba(0, 155, 217, 0.07);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.service-card-icon {
    font-size: 3.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.service-card-body {
    padding: 25px 25px 30px;
    flex: 1;
}

.service-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.service-card-body p {
    font-size: 0.88rem;
    opacity: 0.7;
    font-weight: 300;
    line-height: 1.7;
}


/* ==============================================
   APPROACH — SQUARE CARDS
   ============================================== */

.approach {
    background: var(--light-bg);
}

.approach-grid {
    display: grid;
    /* Default: up to 3 per row, auto-fit so 4 or 5 items reflow naturally */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.approach-item {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 2px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.approach-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 155, 217, 0.12);
}

.approach-card-img {
    background: rgba(0, 155, 217, 0.07);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.approach-icon-inner {
    font-size: 3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.approach-card-body {
    padding: 20px 22px 26px;
    flex: 1;
}

.approach-card-body h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.approach-card-body p {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.7;
    font-weight: 300;
}


/* ==============================================
   REVIEWS
   ============================================== */

.reviews {
    background: var(--grey);
}

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

.review-card {
    background: white;
    padding: 35px;
    border-radius: 2px;
    border-left: 2px solid var(--primary-blue);
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stars {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 18px;
    opacity: 0.8;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.9;
    opacity: 0.8;
    font-size: 0.95rem;
    font-weight: 300;
}

.reviewer-name {
    font-weight: 400;
    color: var(--text-dark);
    font-size: 0.85rem;
    opacity: 0.6;
}

.write-review-btn {
    text-align: center;
    margin-top: 60px;
}


/* ==============================================
   CONTACT
   ============================================== */

.contact {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 155, 217, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.contact-details p {
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.7;
}

.contact-details a:hover {
    color: var(--primary-blue);
    opacity: 1;
}

.map-photo-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.premises-photo-stack {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.premises-photo-stack img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--primary-blue);
}

.map-embed-stack {
    border: 3px solid var(--primary-blue);
    border-top: 0;
    border-radius: 0 0 2px 2px;
    overflow: hidden;
    line-height: 0;
}

.map-embed-stack iframe {
    display: block;
    width: 100%;
    height: 256px;
    border: 0;
}


/* ==============================================
   FOOTER
   ============================================== */

footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 40px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section h4 {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.9;
    font-weight: 300;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    font-size: 0.8rem;
    opacity: 0.4;
    font-weight: 300;
}


/* Hero prev/next arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 155, 217, 0.25);
    border: 1px solid rgba(0, 155, 217, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.hero-arrow:hover {
    background: rgba(0, 155, 217, 0.6);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

/* Shrink hero text area to never reach the arrows */
.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

/* Tablet — two-column cards */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait — stack columns, shrink text */
@media (max-width: 968px) {
    section {
        padding: 80px 30px;
    }

    .about {
        padding: 20px 30px 80px;
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-nav {
        bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Map/photo stack goes full width on mobile */
    .map-photo-stack {
        width: 100%;
    }

    .premises-photo-stack img,
    .map-embed-stack {
        width: 100%;
    }
}

/* Large phone — single column cards */
@media (max-width: 680px) {
    .services-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

	.hero-logo {
    max-width: 100px;
    margin-bottom: 10px;
}
.hero-content p {
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.5px;
}
	
	
}



/* Small phone */
@media (max-width: 568px) {
    .hamburger-menu {
        top: 20px;
        right: 20px;
    }

    .hamburger-btn {
        width: 45px;
        height: 45px;
    }

    .menu-overlay {
        max-width: 100%;
    }

    .menu-nav a {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }

    .about {
        padding: 20px 20px 60px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
