/* ==========================================
   My Boundary Dispute Surveyors - Main Styles
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                url('../images/surveyor-working.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
    0%, 100% {
        background-position: center center;
    }
    50% {
        background-position: center bottom;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}

.hero-text {
    color: var(--bg-white);
}

.hero-text h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    color: var(--accent-color);
    display: inline-block;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 0.8s ease-out 0.4s backwards;
}

.hero-form h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero-form p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Trust Section */
.trust-section {
    background: var(--bg-white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.stat p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Services Preview */
.services-preview {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-white);
}

.step h3 {
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-light);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-text h2 {
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefits-list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefits-list p {
    color: var(--text-light);
    margin: 0;
}

.why-choose-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* Reviews Section */
.reviews-section {
    background: var(--bg-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reviewer span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-question i {
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Bottom Contact Section */
.bottom-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.contact-text p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.0625rem;
}

.contact-benefits i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.contact-form-bottom {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-bottom h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-badges img {
    height: 40px;
    width: auto;
    background: var(--bg-white);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .page-header {
        background-attachment: scroll;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
        background-attachment: scroll;
    }
    
    .page-header {
        background-attachment: scroll;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid,
    .process-steps,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Areas page responsive images */
    .areas-intro [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .areas-list [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                url('../images/aerial-boundaries.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--bg-white);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.8) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Different backgrounds for different pages */
body.about-page .page-header {
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                      url('../images/modern-surveying.jpg');
}

body.services-page .page-header {
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                      url('../images/land-registry-documents.jpg');
}

body.contact-page .page-header {
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                      url('../images/dispute-resolution.jpg');
}

body.blog-page .page-header {
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                      url('../images/blog-fence-dispute.jpg');
}

body.areas-page .page-header {
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                      url('../images/aerial-boundaries.jpg');
}

body.blog-article-page .blog-article {
    padding-top: 80px;
}

body.blog-article-page .article-header {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                url('../images/blog-fence-dispute.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 2rem 60px;
    margin-bottom: 3rem;
    border-radius: 0;
    max-width: 100%;
    position: relative;
}

body.blog-article-page .article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.85) 100%);
    z-index: 1;
}

body.blog-article-page .article-header > * {
    position: relative;
    z-index: 2;
    color: white;
}

body.blog-article-page .article-header h1 {
    color: white;
}

body.blog-article-page .article-header .lead {
    color: rgba(255, 255, 255, 0.95);
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Company Story */
.company-story {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* Values Section */
.values-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

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

.value-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.team-member:nth-child(even) {
    direction: rtl;
}

.team-member:nth-child(even) .member-info {
    direction: ltr;
}

.member-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Accreditations Section */
.accreditations-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.accred-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.accred-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.accred-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accred-logos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.accred-logos img {
    max-width: 200px;
    height: auto;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

/* Why Different Section */
.why-different {
    padding: 5rem 0;
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.different-item {
    text-align: center;
}

.different-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.different-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.different-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* Blog Article Page */
.blog-article {
    padding: 120px 0 5rem;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-header h1 {
    margin-bottom: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content img {
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Services Page */
.service-detail {
    padding: 3rem 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.service-detail h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-detail h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-detail ul {
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-detail ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-detail-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    position: sticky;
    top: 100px;
}

/* Areas Page */
.areas-intro {
    padding: 3rem 0;
    background: var(--bg-light);
}

.areas-list {
    padding: 5rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.area-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.area-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.area-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.area-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* Contact Page */
.contact-info {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive adjustments for new pages */
@media (max-width: 968px) {
    .story-content,
    .accred-content,
    .service-detail-content,
    .team-member {
        grid-template-columns: 1fr;
    }
    
    .team-member:nth-child(even) {
        direction: ltr;
    }
    
    .member-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .different-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
}