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

:root {
    --primary-color: #1a4d7d;
    --secondary-color: #d4af37;
    --accent-color: #2c5f8d;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

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

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

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

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo span {
    color: var(--secondary-color);
}

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

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 77, 125, 0.85), rgba(44, 95, 141, 0.85)), 
                url('../images/hero-london-property-survey.jpg') center/cover no-repeat;
    padding: 4rem 0;
}

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

/* Hero background image (fallback when video not available) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 125, 0.7);
    z-index: 1;
}

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

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

.hero-text * {
    color: var(--white) !important;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.btn-primary:hover {
    background: #c49d2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

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

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

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

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

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

.section-alt {
    background: 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: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

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

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

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

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

.stars {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

.team-member {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-member-info {
    padding: 2rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

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

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.area-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.area-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.area-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.area-item:hover i {
    color: var(--white);
}

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

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

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question i {
    transition: var(--transition);
}

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

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

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

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

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

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 2rem;
}

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

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

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

/* Blog Article */
.blog-article {
    max-width: 850px;
    margin: 0 auto;
}

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

.blog-header img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content img {
    margin: 2rem 0;
    border-radius: 10px;
}

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

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

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

footer * {
    color: var(--white) !important;
}

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

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

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

.footer-section p,
.footer-section li {
    color: var(--white);
    margin-bottom: 0.75rem;
}

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

.footer-section a {
    color: var(--white);
}

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

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

.footer-bottom a {
    color: var(--white);
}

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

/* Accreditation Badges */
.accreditation-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    min-width: 120px;
}

.badge i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

/* Responsive Design */
/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Extra Large Desktops - 1400px+ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Desktops/Laptops - max 1200px */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 2rem;
    }
}

/* Medium Laptops - max 968px */
@media (max-width: 968px) {
    /* Typography */
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Container */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Navigation */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 2rem;
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    nav ul li a {
        padding: 1rem;
        display: block;
        color: var(--primary-color);
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0.5rem;
        position: relative;
        z-index: 1001;
    }
    
    /* Hamburger Icon Animation */
    .hamburger {
        width: 25px;
        height: 2px;
        background: var(--primary-color);
        position: relative;
        transition: var(--transition);
        display: block;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        bottom: -8px;
    }
    
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    /* Contact Grid - Single Column */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form {
        order: 2;
    }
    
    /* Grids - 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid,
    .team-grid,
    .areas-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Video Background - Hide on tablet */
    .hero-video-bg,
    video.hero-video-bg {
        display: none !important;
    }
    
    .hero {
        min-height: 500px;
        background: linear-gradient(135deg, rgba(26, 77, 125, 0.85), rgba(44, 95, 141, 0.85)), 
                    url('../images/hero-london-property-survey.jpg') center/cover no-repeat;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
}

/* Tablets - max 768px */
@media (max-width: 768px) {
    /* Typography */
    html { font-size: 15px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Container */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Hero */
    .hero {
        padding: 2rem 0;
        min-height: 450px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Section Spacing */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Landscape - max 600px */
@media (max-width: 600px) {
    /* Typography */
    html { font-size: 14px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    p { font-size: 0.95rem; line-height: 1.6; }
    
    /* Container */
    .container {
        padding: 0 1rem;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* All sections full width on mobile */
    section {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Header */
    header {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0;
        min-height: 400px;
        background-position: center center;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-form {
        padding: 1.25rem;
        width: 100%;
    }
    
    .hero-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.5rem 0;
        min-height: 44px;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
    }
    
    /* All Grids - Single Column */
    .services-grid,
    .testimonials-grid,
    .team-grid,
    .areas-grid,
    .blog-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Service Cards */
    .service-card,
    .service-item {
        padding: 1.25rem;
    }
    
    .service-card i,
    .service-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card h3,
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* CTA Sections */
    .cta-section {
        padding: 2rem 1.5rem;
        border-radius: 10px;
        margin: 1rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Contact Page - Fix Squeezed Flex Items */
    .contact-section [style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Contact Page - Reorder Form and Why Choose Section on Mobile */
    section > .container > [style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Force all divs in contact grid to full width */
    section [style*="grid-template-columns"] > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    /* Form comes first (order: 1) */
    section > .container > [style*="grid-template-columns"] > div:first-child {
        order: 1;
    }
    
    /* Why Choose section comes second (order: 2) */
    section > .container > [style*="grid-template-columns"] > div:last-child {
        order: 2;
    }
    
    /* Contact Page Icons and Content Boxes */
    .contact-section [style*="display: flex"] > div:first-child {
        margin-bottom: 0.5rem;
    }
    
    /* Working Hours Box */
    .contact-section [style*="linear-gradient"] {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }
    
    /* HubSpot Form Container - Prevent Squeeze */
    #hubspot-form-bottom,
    #hubspot-form-hero,
    #hubspot-contact-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
    
    /* Form wrapper divs */
    [style*="background: var(--white)"] {
        padding: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hs-form {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hs-form-field {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Forms */
    .hs-form-field {
        margin-bottom: 0.75rem !important;
    }
    
    .hs-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 0.6rem !important;
        font-size: 16px !important; /* Prevents iOS zoom */
        width: 100%;
    }
    
    .hs-button,
    button[type="submit"] {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
        min-height: 44px;
    }
        font-size: 16px !important; /* Prevents iOS zoom */
        width: 100%;
    }
    
    .hs-button,
    button[type="submit"] {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
        min-height: 44px;
    }
    
    .hs-form-field label {
        font-size: 0.9rem !important;
    }
    
    /* Blog */
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .blog-article {
        padding: 1rem;
    }
    
    .blog-article h1 {
        font-size: 1.5rem;
    }
    
    .blog-article h2 {
        font-size: 1.25rem;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0.75rem 1rem;
    }
    
    .faq-toggle {
        font-size: 1.25rem;
    }
    
    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Stats */
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Why Choose Us & Features Grid */
    .why-choose-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item,
    .why-choose-item {
        text-align: center;
        padding: 1.25rem;
    }
    
    /* Contact Page Extra Padding */
    .contact-section {
        padding: 2rem 0;
    }
    
    /* Area Cards */
    .area-card {
        padding: 1.25rem;
    }
    
    .area-card h3 {
        font-size: 1.1rem;
    }
}

/* Mobile Portrait - max 480px */
@media (max-width: 480px) {
    /* Extra small adjustments */
    html { font-size: 14px; }
    
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.05rem; }
    
    .hero-text h1 {
        font-size: 1.25rem;
    }
    
    .hero-form {
        padding: 1rem;
    }
    
    .hero-form h3 {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .service-card,
    .service-item,
    .testimonial-card,
    .team-member,
    .area-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Why Choose Us & Features - Single Column */
    .why-choose-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Areas Grid */
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card {
        padding: 1rem;
    }
    
    /* Contact Extra Padding */
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
