/* Sutton Surveyors - Main Stylesheet */
/* Modern, Fully Responsive Design for Property Surveying Services */

:root {
    --primary-color: #1a3a52;
    --secondary-color: #d4af37;
    --accent-color: #c8102e;
    --text-dark: #222222;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 15px rgba(0,0,0,0.2);
}

/* ================================
   BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    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: 1.25rem;
    color: var(--text-light);
}

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

/* ================================
   HEADER & 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 {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-hover);
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accreditations {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.accreditations span {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-main {
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

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

.nav-cta {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5px;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

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

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

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

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

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

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-top: 110px;
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none; /* Hidden by default, shown on mobile */
}

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

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.88) 0%, rgba(26, 58, 82, 0.75) 100%);
    z-index: 1;
}

.hero-background-fallback {
    display: none; /* Hidden on desktop */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.88) 0%, rgba(26, 58, 82, 0.75) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.hero-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: sticky;
    top: 140px;
}

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

/* ================================
   CONTAINER
   ================================ */

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

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

/* ================================
   SECTION STYLES
   ================================ */

section {
    padding: 5rem 0;
}

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

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

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

.section-header p {
    font-size: 1.15rem;
}

/* ================================
   CARDS
   ================================ */

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

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

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

.card-body {
    padding: 2rem;
}

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

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

/* ================================
   GRID LAYOUTS
   ================================ */

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

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

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

/* ================================
   BUTTONS
   ================================ */

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

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

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

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

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

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

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

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ================================
   SERVICES SECTION
   ================================ */

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

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

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

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

/* ================================
   TESTIMONIALS
   ================================ */

.testimonial {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

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

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

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

/* ================================
   FAQ SECTION
   ================================ */

.faq-item {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

.faq-question i {
    transition: var(--transition);
    font-size: 1.25rem;
}

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

.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-answer.active {
    max-height: 500px;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f2537 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}

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

.footer-links {
    list-style: none;
}

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

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

.footer-bottom p {
    color: #ffffff;
    margin: 0;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: underline;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.accreditation-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================
   FORMS (Including HubSpot)
   ================================ */

.hero-form form,
.contact-form-wrapper form {
    width: 100%;
}

.hero-form input,
.hero-form select,
.hero-form textarea,
.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus,
.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

/* HubSpot Form Styles */
.hs-form-field {
    margin-bottom: 1rem;
}

.hs-input {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
}

.hs-button {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: var(--accent-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.hs-button:hover {
    background: var(--primary-color) !important;
}

/* ================================
   BLOG SECTIONS
   ================================ */

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

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

.blog-title {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-article h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-article h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-preview-text {
    line-height: 1.6;
}

/* ================================
   FEATURE BOXES
   ================================ */

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

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

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

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

/* ================================
   AREAS COVERED
   ================================ */

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

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

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

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

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

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

.contact-info {
    padding: 2rem;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

/* ================================
   ANIMATIONS
   ================================ */

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

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

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

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

/* ================================
   UTILITY CLASSES
   ================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

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

/* ================================================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ================================================================ */

/* ================================
   XXL - Large Desktops (1400px+)
   ================================ */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* ================================
   Extra Large - Laptops (max-width: 1200px)
   ================================ */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ================================
   Large - Small Laptops (max-width: 968px)
   ================================ */

@media (max-width: 968px) {
    /* Typography */
    html {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation - Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-form {
        position: static;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .trust-badges {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Grid Layouts */
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .grid-2 {
        gap: 1.5rem;
    }
    
    /* Services */
    .service-item {
        padding: 1.5rem;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Areas Grid */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

/* ================================
   Medium - Tablets (max-width: 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; }
    
    /* Section Spacing */
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Container */
    .container {
        padding: 1.5rem;
    }
    
    /* Header */
    .header-top .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .accreditations {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .accreditations span {
        font-size: 0.8rem;
    }
    
    /* Hero */
    .hero {
        margin-top: 110px;
        padding: 3rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .trust-badges {
        gap: 1rem;
        justify-content: center;
    }
    
    .badge {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .badge i {
        font-size: 1.25rem;
    }
    
    .hero-form {
        padding: 2rem 1.5rem;
    }
    
    .hero-form h3 {
        font-size: 1.25rem;
    }
    
    /* Video Background - Hide on mobile for performance */
    .hero-video-bg {
        display: none;
    }
    
    .hero-background-fallback {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    
    .hero::before {
        background: linear-gradient(135deg, rgba(26, 58, 82, 0.95), rgba(44, 62, 80, 0.9));
    }
    
    /* All Grid Layouts to Single Column */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Areas Grid */
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .accreditation-badges {
        justify-content: center;
    }
    
    /* Contact Form */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ================================
   Small - Mobile Landscape (max-width: 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: 1rem;
    }
    
    /* Section Spacing */
    section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .badge i {
        font-size: 1rem;
    }
    
    .hero-form {
        padding: 1.25rem;
    }
    
    .hero-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Forms - All forms including HubSpot */
    .hero-form input,
    .hero-form select,
    .hero-form textarea,
    .contact-form-wrapper input,
    .contact-form-wrapper select,
    .contact-form-wrapper textarea {
        padding: 0.6rem;
        font-size: 16px; /* Prevents iOS zoom */
        margin-bottom: 0.75rem;
    }
    
    /* HubSpot Forms */
    .hs-form-field {
        margin-bottom: 0.75rem !important;
    }
    
    .hs-input {
        padding: 0.6rem !important;
        font-size: 16px !important; /* Prevents iOS zoom */
    }
    
    .hs-button {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
    }
    
    .hs-form-field label {
        font-size: 0.9rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        display: block;
        text-align: center;
    }
    
    .btn-primary,
    .btn-secondary {
        margin: 0.5rem 0;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-img {
        height: 200px;
    }
    
    /* Service Items */
    .service-item {
        padding: 1.25rem;
    }
    
    .service-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 1rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    /* 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;
    }
    
    .blog-article h3 {
        font-size: 1.1rem;
    }
    
    /* FAQ */
    .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-toggle {
        font-size: 1.25rem;
    }
    
    /* CTA Section */
    .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;
    }
    
    /* Footer */
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    /* Areas Card */
    .area-card {
        padding: 1rem;
    }
    
    /* Contact Form */
    .contact-form-wrapper {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    /* Table Responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ================================
   Extra Small - Mobile Portrait (max-width: 480px)
   ================================ */

@media (max-width: 480px) {
    /* Typography */
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.15rem; }
    h3 { font-size: 1rem; }
    
    /* Hero */
    .hero-content h1 {
        font-size: 1.25rem;
    }
    
    .hero-form {
        padding: 1rem;
    }
    
    .hero-form h3 {
        font-size: 1rem;
    }
    
    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        padding: 0.6rem;
    }
    
    .hero-form button {
        padding: 0.7rem 1rem;
    }
    
    /* Logo */
    .logo {
        font-size: 1.5rem;
    }
    
    /* Badges */
    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .badge i {
        font-size: 0.9rem;
    }
    
    /* Section Header */
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1rem;
    }
    
    /* Testimonial */
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 2rem;
    }
}

/* ================================================================
   END OF RESPONSIVE DESIGN
   ================================================================ */
