/* Angel Surveyors - Main Stylesheet */
/* ================================== */

/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --gold-accent: #d4af37;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
}

/* Images Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.logo span {
    color: var(--gold-accent);
    margin-left: 0.25rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    background: transparent;
    border: none;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Hero Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(44, 82, 130, 0.85) 100%);
    z-index: 1;
}

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

.hero-text {
    color: var(--white);
    padding-left: 3rem;
    margin-top: 0;
}

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

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

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

.btn-primary {
    background: var(--gold-accent);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

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

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

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

/* Hero Form */
.hero-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: fadeInRight 1s ease-out 0.6s both;
}

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

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

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

.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;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--gold-accent);
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card a {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.image-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.image-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
    padding: 1.5rem;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.review-stars {
    color: var(--gold-accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.review-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.review-author-info p {
    font-size: 0.875rem;
    margin: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.team-info p {
    font-size: 0.9rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

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

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

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

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

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

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

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.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: var(--text-light);
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

/* Contact Form */
.contact-section {
    padding: 5rem 0;
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Accreditation Badges */
.accreditation-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.accreditation-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.accreditation-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 150px;
}

.badge-icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.badge-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* 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 to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold-accent);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.scroll-top.visible {
    display: flex;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: var(--bg-light);
    margin-top: 80px;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
}

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

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

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

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.article-body blockquote {
    border-left: 4px solid var(--gold-accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.area-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--gold-accent);
}

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

.area-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.area-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ============================================ */
/* COMPREHENSIVE MOBILE RESPONSIVE CSS */
/* ============================================ */

/* Extra Large Desktops (1400px and up) */
@media (min-width: 1400px) {
    .container-wide {
        max-width: 1600px;
    }
}

/* Large Laptops and Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text {
        padding-left: 2rem;
    }
}

/* Medium Laptops (max-width: 968px) */
@media (max-width: 968px) {
    html {
        font-size: 15px;
    }
    
    /* Navigation - Tablet */
    nav ul {
        gap: 1.5rem;
    }
    
    /* Hero Section - Tablet */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Grid Layouts - Tablet */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer - Tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Areas Grid - Tablet */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Tablets and Small Laptops (max-width: 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    /* Typography - Tablet */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Mobile Navigation - Full Width Dropdown */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }
    
    nav ul.active {
        display: flex;
        max-height: 500px;
        opacity: 1;
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    nav a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Hero Section - Mobile */
    /* Hide video on mobile for performance */
    .hero-video-background video,
    .hero-video {
        display: none !important;
    }
    
    /* Use fallback background image on mobile */
    .hero-video-background {
        background: url('../images/hero-london-property.jpg') center/cover no-repeat;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 1rem;
    }
    
    .hero-text {
        padding-left: 0;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-form {
        padding: 1.5rem;
    }
    
    .hero-form h3 {
        font-size: 1.25rem;
    }
    
    /* Video Background - Hide on mobile for performance */
    .hero-background video {
        display: none;
    }
    
    .hero {
        background: linear-gradient(135deg, rgba(26, 77, 143, 0.95), rgba(44, 62, 80, 0.9));
    }
    
    /* Buttons - Mobile */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    /* Grid Layouts - Mobile */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .team-grid,
    .blog-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Grid - Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
    }
    
    /* Footer - Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .accreditation-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
}

/* Mobile Landscape (max-width: 600px) */
@media (max-width: 600px) {
    html {
        font-size: 14px;
    }
    
    /* Typography - Mobile */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Hero Section - Mobile */
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-form {
        padding: 1.25rem;
    }
    
    .hero-form h3 {
        font-size: 1.1rem;
    }
    
    /* Hero Badges */
    .hero-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Forms - Mobile Optimization */
    .hero-form,
    .contact-form-wrapper {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }
    
    /* HubSpot Forms - 600px Mobile */
    .hs-form-field {
        margin-bottom: 1rem !important;
    }
    
    .hs-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 0.75rem !important;
        font-size: 16px !important; /* Prevents iOS zoom */
        width: 100% !important;
        min-height: 44px !important;
        border-radius: 4px;
        -webkit-appearance: none;
    }
    
    .hs-button,
    button[type="submit"] {
        width: 100% !important;
        padding: 0.875rem !important;
        font-size: 1rem !important;
        min-height: 44px !important;
        border-radius: 4px;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .hs-form-field label {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    /* Service Cards - Mobile */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    /* Blog Grid - Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    /* Blog Article - Mobile */
    .article-content {
        padding: 1rem;
    }
    
    .article-header h1,
    .article-body h1 {
        font-size: 1.5rem;
    }
    
    .article-body h2 {
        font-size: 1.25rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    /* FAQ - Mobile */
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .faq-answer-content {
        padding: 0.75rem 1rem;
    }
    
    .faq-icon {
        font-size: 1.25rem;
    }
    
    /* Buttons - Mobile */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
        margin: 0.5rem 0;
    }
    
    /* Stats - Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Features - Mobile */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 1rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    /* CTA Section - Mobile */
    .cta-section {
        padding: 2rem 1.5rem;
        border-radius: 10px;
        margin: 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Areas Grid - Mobile */
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card {
        padding: 1rem;
    }
    
    /* Contact - Mobile */
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    /* Footer - Mobile */
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .accreditation-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Spacing - Mobile */
    .container {
        padding: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Scroll to Top - Mobile */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.25rem;
    }
}

/* Extra Small Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
    /* Base Typography */
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    /* Header */
    .logo {
        font-size: 1.125rem;
    }
    
    /* Hero - Extra Small */
    .hero {
        padding: 90px 15px 40px;
        min-height: 65vh;
    }
    
    .hero-text h1 {
        font-size: 1.25rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-form {
        padding: 1.25rem 1rem;
    }
    
    .hero-form h3 {
        font-size: 1rem;
    }
    
    /* Form Inputs - Touch Friendly & Prevent iOS Zoom */
    .hs-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 0.75rem !important;
        font-size: 16px !important; /* Critical: Prevents iOS auto-zoom */
        min-height: 44px !important;
        -webkit-appearance: none;
        border-radius: 4px;
    }
    
    label,
    .hs-form-field label {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem;
    }
    
    /* Buttons - Touch Friendly (44px minimum) */
    .btn,
    .cta-button,
    .hs-button,
    button[type="submit"] {
        width: 100%;
        min-height: 44px;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        touch-action: manipulation;
    }
    
    /* Section Headers - Extra Small */
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Service Cards - Extra Small */
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    /* Blog Cards - Extra Small */
    .blog-card h3 {
        font-size: 1rem;
    }
    
    .blog-meta {
        font-size: 0.8rem;
    }
    
    /* Stats - Extra Small */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Team Cards - Extra Small */
    .team-photo {
        height: 250px;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    /* Footer - Extra Small */
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    /* Breadcrumbs - Extra Small */
    .breadcrumbs {
        font-size: 0.85rem;
    }
}

/* Table Responsiveness */
@media (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .mobile-menu-toggle,
    .scroll-top,
    .cta-buttons,
    nav {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .container {
        max-width: 100%;
    }
}
