/* Enfield Surveyors - Main Stylesheet */
/* ===================================== */

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

:root {
    --primary-color: #1a4d7c;
    --secondary-color: #2e7ab8;
    --accent-color: #c7a05f;
    --dark-color: #1e1e1e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #28a745;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    font-size: 16px;
    background: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

/* Header & Navigation */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    height: auto;
    display: flex;
    align-items: center;
    overflow: visible;
    background: var(--dark-color);
    padding: 3rem 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: #fff;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-form {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-height: none;
    overflow: visible;
}

.hero-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-accent {
    background: var(--accent-color);
}

.btn-accent:hover {
    background: #b08d4a;
}

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

.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

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

.card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    background: var(--light-color);
    border-left: 4px solid var(--accent-color);
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Team Section */
.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    display: block;
    background: #f0f0f0;
}

/* Image Error Handling */
img {
    max-width: 100%;
    height: auto;
}

img.team-photo,
img.card-image,
img.blog-image,
img.article-image {
    display: block;
}

/* Ensure images load properly */
img[src=""],
img:not([src]) {
    visibility: hidden;
}

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

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    text-align: left;
    color: #666;
}

/* Testimonials */
.testimonials {
    background: var(--light-color);
}

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-location {
    color: #888;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: #fff;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(26, 77, 124, 0.15);
    border-color: #c7a05f;
}

.faq-question {
    background: var(--light-color);
    padding: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

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

.faq-item.active .faq-question {
    background: #e3f2fd;
    color: var(--primary-color);
}

.faq-item.active .faq-question::before {
    background: var(--primary-color);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    color: #555;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 1.25rem;
    max-height: 2000px;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-toggle,
.faq-question i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle,
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

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

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: var(--dark-color);
}

.blog-card h3 a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
}

/* Blog Article Page */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    margin-bottom: 2rem;
}

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

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: #888;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

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

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

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

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    margin: 2rem 0;
    border-radius: 8px;
}

.article-cta {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.related-articles {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #1a4d7c, #c7a05f, #1a4d7c) 1;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 77, 124, 0.02) 100%);
}

.related-articles h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.related-articles h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.related-articles .card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-articles .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #1a4d7c 0%, 
        #2563a8 20%, 
        #c7a05f 40%, 
        #d4af6a 60%, 
        #2563a8 80%, 
        #1a4d7c 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.related-articles .card:nth-child(1) {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
}

.related-articles .card:nth-child(1)::before {
    background: linear-gradient(90deg, #c7a05f, #d4af6a, #c7a05f);
}

.related-articles .card:nth-child(2) {
    background: linear-gradient(135deg, #e6f2ff 0%, #ffffff 100%);
}

.related-articles .card:nth-child(2)::before {
    background: linear-gradient(90deg, #1a4d7c, #2563a8, #1a4d7c);
}

.related-articles .card:nth-child(3) {
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.related-articles .card:nth-child(3)::before {
    background: linear-gradient(90deg, #059669, #10b981, #059669);
}

.related-articles .card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(26, 77, 124, 0.35);
    border-color: var(--accent-color);
}

.related-articles .card:hover::before {
    height: 8px;
}

.related-articles .card h3 {
    position: relative;
    margin-bottom: 1rem;
}

.related-articles .card h3 a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    display: inline-block;
}

.related-articles .card:nth-child(1) h3 a {
    background: linear-gradient(135deg, #c7a05f, #d4af6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-articles .card:nth-child(2) h3 a {
    background: linear-gradient(135deg, #1a4d7c, #2563a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-articles .card:nth-child(3) h3 a {
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-articles .card h3 a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.related-articles .card-content {
    padding: 2rem;
}

.related-articles .card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Interactive Elements for Blogs */
.interactive-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.interactive-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.checklist {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.checklist-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checklist-item.checked .checklist-checkbox {
    background: var(--success-color);
    border-color: var(--success-color);
}

.checklist-checkbox::after {
    content: '✓';
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: none;
}

.checklist-item.checked .checklist-checkbox::after {
    display: block;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: #fff;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--light-color);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros-box, .cons-box {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.pros-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.cons-box {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.pros-box h3, .cons-box h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expandable-section {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin: 2rem 0;
    overflow: hidden;
}

.expandable-header {
    background: var(--light-color);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.expandable-header:hover {
    background: #e9ecef;
}

.expandable-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.expandable-section.active .expandable-content {
    padding: 1.5rem;
    max-height: 2000px;
}

.expandable-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.expandable-section.active .expandable-icon {
    transform: rotate(180deg);
}

.tip-box {
    background: #fff3e0;
    padding: 1.5rem;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box h4 {
    color: #f57c00;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box {
    background: #fff9c4;
    padding: 1.5rem;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box h4 {
    color: #f57f17;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box {
    background: #e3f2fd;
    padding: 1.5rem;
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-box h4 {
    color: #1976d2;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-calculator {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.calculator-input input,
.calculator-input select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.calculator-input input:focus,
.calculator-input select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.calculator-result {
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
}

.calculator-result h4 {
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.calculator-result .price {
    font-size: 2rem;
    font-weight: 700;
}

.progress-bar {
    background: var(--light-color);
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
}

.progress-fill {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    transition: width 1s ease;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    margin-bottom: 0.5rem;
}

/* Ensure blog/article stat numbers are dark, not white */
.article-content .stat-number,
.blog-article .stat-number,
.stat-box .stat-number {
    color: var(--secondary-color) !important;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

/* Areas Section - Eye-catching cards with enhanced styling */
.area-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #e8eef3;
    border-left: 5px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.area-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(199, 160, 95, 0.08) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.area-card:hover::before {
    opacity: 1;
    top: -25%;
    right: -25%;
}

.area-card:hover {
    border-left-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(26, 77, 124, 0.2);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.area-card h3,
.area-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.area-card h3::before,
.area-card h4::before {
    content: '📍';
    font-size: 1.2rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.area-card ul {
    position: relative;
    z-index: 1;
}

.area-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.area-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-section {
    background: var(--light-color);
}

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

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

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
}

.contact-form-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hide any social sharing buttons that might be injected by platforms */
.social-share,
.share-buttons,
[class*="share-button"],
[class*="social-media-share"],
div[class*="social-sharing"] {
    display: none !important;
}

/* Page Hero Sections */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2b47 100%);
    padding: 5rem 0 3rem;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(199, 160, 95, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(26, 77, 124, 0.15) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Page Hero Stats */
.page-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.page-hero-stats .stat-number,
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.stat-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Service Badges */
.page-hero-services {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.service-badge span {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff !important;
}

/* Location Tags */
.page-hero-locations {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    color: #ffffff !important;
}

.location-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.location-tag i {
    color: var(--accent-color);
}

/* Topic Tags */
.page-hero-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.topic-tag i {
    color: var(--accent-color);
}

/* Contact Info Items */
.page-hero-contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.contact-info-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.contact-info-item div {
    text-align: left;
}

.contact-info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.contact-info-item span {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Page Hero */
@media (max-width: 968px) {
    .page-hero {
        padding: 4rem 0 2.5rem;
    }

    .page-hero-title {
        font-size: 2.25rem;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
    }

    .page-hero-stats,
    .page-hero-services,
    .page-hero-contact-info {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .service-badge {
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .page-hero-services,
    .page-hero-locations,
    .page-hero-tags {
        gap: 0.75rem;
    }

    .service-badge,
    .location-tag,
    .topic-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .page-hero-contact-info {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .contact-info-item {
        width: 100%;
    }
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #888;
}

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

.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }

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

.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 400px;
        margin-top: 1rem;
    }
    
    .nav-menu li {
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-form {
        max-width: 100%;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
