/* ============================================
   Armstrong Technical Services - Main Stylesheet
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    --primary-blue: #1a3a5f;
    --dark-blue: #0d2440;
    --light-blue: #2c5f8d;
    --accent-blue: #3d7bb3;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --dark-grey: #333333;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-blue);
    background-color: var(--light-grey);
}

.nav-menu li a.nav-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.nav-menu li a.nav-btn:hover,
.nav-menu li a.nav-btn.active {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section with Parallax
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://static.wixstatic.com/media/9be74d_0e16b377139d4153934cae58b534431b~mv2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.5) 0%, rgba(13, 36, 64, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

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

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

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

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

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 1rem auto;
}

/* ============================================
   Services Preview
   ============================================ */
.services-preview {
    background-color: var(--light-grey);
    padding-top: 8rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.services-preview .section-title {
    margin-top: 0;
    padding-top: 0;
}

.services-grid-wrapper {
    position: relative;
}

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

/* Swipe Indicator - Mobile Only */
.swipe-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 1rem auto 0;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-width: 300px;
}

.swipe-indicator.show {
    opacity: 1;
    transform: translateY(0);
    animation: pulse 2s ease-in-out infinite;
}

.swipe-indicator.hide {
    display: none;
}

.swipe-icon {
    display: flex;
    align-items: center;
    animation: swipe-horizontal 1.5s ease-in-out infinite;
}

.swipe-icon svg {
    width: 20px;
    height: 20px;
}

.swipe-text {
    color: var(--text-light);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

@keyframes swipe-horizontal {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
    100% {
        transform: translateX(0);
    }
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

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

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ============================================
   Vision & Technology Sections
   ============================================ */
.vision-section {
    background-color: var(--white);
}

.technology-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(26, 58, 95, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(61, 123, 179, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.vision-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-text {
    text-align: left;
}

.vision-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

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

.vision-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

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

.technology-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.technology-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

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

.technology-cta {
    margin-top: 2.5rem;
}

/* ============================================
   Blog Preview
   ============================================ */
.blog-preview {
    background-color: var(--light-grey);
}

.blog-grid-wrapper {
    position: relative;
}

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

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 1.5rem;
}

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

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

.blog-content h3 a:hover {
    color: var(--primary-blue);
}

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

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-block;
}

.read-more:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--dark-blue);
    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,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

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

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

.social-links a {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

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

/* ============================================
   Page-Specific Styles
   ============================================ */

/* Welcome Page */
.welcome-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.welcome-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* About Us Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

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

/* Service List Page */
.service-list-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.service-list-content {
    padding: 3rem 0;
}

.service-detail-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
}

.service-detail-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

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

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

.service-feature {
    padding: 1rem;
    background-color: var(--light-grey);
    border-radius: 5px;
    border-left: 4px solid var(--primary-blue);
}

/* Blog Feed Page */
.blog-feed-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.blog-feed-content {
    padding: 3rem 0;
}

/* Blog Post Page */
.blog-post-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.blog-post-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.blog-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.blog-author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.blog-author-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.blog-post-meta {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

.blog-featured-image {
    width: 100%;
    border-radius: 12px;
    margin: 2rem 0 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--medium-grey);
    font-style: italic;
}

.blog-post-content h2 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.blog-post-content li {
    margin-bottom: 1rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.125rem;
}

.blog-post-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-post-cta {
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 2.5rem;
    border-radius: 10px;
    margin: 3rem 0;
    box-shadow: 0 4px 15px var(--shadow);
}

.blog-post-cta h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--medium-grey);
}

.blog-post-navigation a {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-post-navigation a:hover {
    color: var(--dark-blue);
    transform: translateX(-5px);
}

.blog-post-navigation a.back-link {
    flex-direction: row-reverse;
}

.blog-post-navigation a.back-link:hover {
    transform: translateX(5px);
}

/* Book Online Page */
.book-online-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.booking-section {
    padding: 3rem 0 5rem;
    background: linear-gradient(to bottom, var(--light-grey) 0%, var(--white) 20%);
}

.booking-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

/* Progress Indicator */
.form-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--medium-grey);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(26, 58, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Booking Form */
.booking-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
}

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

.form-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* Form Steps */
.form-step {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                margin 0.4s ease,
                padding 0.4s ease;
    margin: 0;
    padding: 0;
}

.form-step.active {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 2rem;
    padding: 0;
    animation: slideIn 0.5s ease-out;
}

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

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-grey);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(26, 58, 95, 0.2);
}

.step-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--medium-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 95, 0.1);
    transform: translateY(-1px);
}

.form-input:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

.form-input::placeholder {
    color: #999;
}

/* Date input styling */
input[type="date"].form-input {
    position: relative;
    color-scheme: light;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Select styling enhancement */
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a3a5f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.form-group textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Checkbox Styling */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.checkbox-label span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-grey);
}

.btn-submit {
    width: 100%;
    max-width: 350px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 58, 95, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-guarantee {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Input Validation States */
.form-input.error {
    border-color: #dc3545;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-input.success {
    border-color: #4caf50;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 700px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.trust-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.trust-text {
    font-weight: 500;
}

/* Responsive Design for Form */
@media (max-width: 768px) {
    .booking-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .step-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.legal-page h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

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

.legal-page ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   Mobile Responsive Design
   ============================================ */

@media (max-width: 768px) {
    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 0 5px 15px var(--shadow);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--medium-grey);
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    /* Hero Mobile */
    .hero {
        background-attachment: scroll;
        min-height: 500px;
        height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Services Grid Mobile - Single Card Slider */
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        min-width: 85%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Show swipe indicator on mobile */
    .swipe-indicator {
        display: flex;
    }

    /* Blog Grid Mobile - Single Card Slider */
    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    /* Show swipe indicator on mobile for blog */
    #blogSwipeIndicator {
        display: flex;
    }

    .blog-card {
        min-width: 70%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 2rem;
    }

    /* About Intro Mobile */
    .about-intro {
        grid-template-columns: 1fr;
    }

    /* Vision Section Mobile */
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .vision-text {
        text-align: center;
    }

    .vision-image img {
        max-width: 300px;
    }

    /* Service List Mobile */
    .service-detail-card > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Typography Mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Form Mobile */
    .booking-form {
        padding: 2rem 1.5rem;
    }

    /* Legal Pages Mobile */
    .legal-page {
        padding: 2rem 1rem;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    /* Blog Post Mobile */
    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-author-info {
        flex-direction: column;
        text-align: center;
    }

    .blog-author-details {
        align-items: center;
        text-align: center;
    }

    .blog-post-content {
        padding: 2rem 1rem;
    }

    .blog-post-intro {
        font-size: 1.1rem;
    }

    .blog-post-content h2 {
        font-size: 1.75rem;
    }

    .blog-post-content h3 {
        font-size: 1.5rem;
    }

    .blog-post-content p {
        font-size: 1rem;
    }

    .blog-post-content li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .service-card {
        min-width: 90%;
    }
    
    .blog-card {
        min-width: 75%;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-menu li a,
    .service-card,
    .blog-card {
        -webkit-tap-highlight-color: rgba(26, 58, 95, 0.2);
    }

    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero {
        background-attachment: scroll;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

