/* My Roof Surveyor UK - Main Stylesheet */
/* Mobile-First Responsive Design */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

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

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

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8));
    z-index: -1;
}

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

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.hero-form,
.contact-form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-form h3,
.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* HubSpot Form Mobile Optimizations */
/* Target all HubSpot form elements for mobile */
.hero-form form,
.contact-form-section form,
.hero-form .hs-form,
.contact-form-section .hs-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* HubSpot Form Fields */
.hero-form .hs-form-field,
.contact-form-section .hs-form-field {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
}

/* HubSpot Input Fields */
.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form input[type="number"],
.hero-form select,
.hero-form textarea,
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="number"],
.contact-form-section select,
.contact-form-section textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0.5rem !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Prevent iOS zoom on focus */
.hero-form input,
.hero-form select,
.hero-form textarea,
.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
    font-size: 16px !important;
}

/* HubSpot Labels */
.hero-form label,
.contact-form-section label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
}

/* HubSpot Submit Button */
.hero-form input[type="submit"],
.hero-form .hs-button,
.contact-form-section input[type="submit"],
.contact-form-section .hs-button {
    width: 100% !important;
    padding: 14px 20px !important;
    background: var(--accent-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease !important;
    -webkit-appearance: none !important;
}

.hero-form input[type="submit"]:hover,
.hero-form .hs-button:hover,
.contact-form-section input[type="submit"]:hover,
.contact-form-section .hs-button:hover {
    background: #dc2626 !important;
}

/* HubSpot Checkboxes and Radio Buttons */
.hero-form input[type="checkbox"],
.hero-form input[type="radio"],
.contact-form-section input[type="checkbox"],
.contact-form-section input[type="radio"] {
    width: auto !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin-right: 10px !important;
    cursor: pointer !important;
}

/* HubSpot Fieldsets */
.hero-form fieldset,
.contact-form-section fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
}

/* HubSpot Error Messages */
.hero-form .hs-error-msgs,
.contact-form-section .hs-error-msgs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 0 0 !important;
}

.hero-form .hs-error-msg,
.contact-form-section .hs-error-msg {
    color: var(--accent-color) !important;
    font-size: 14px !important;
    margin-top: 0.25rem !important;
}

/* HubSpot Field Groups */
.hero-form .hs-field-desc,
.contact-form-section .hs-field-desc {
    font-size: 14px !important;
    color: var(--text-light) !important;
    margin-top: 0.25rem !important;
}

/* HubSpot Required Fields */
.hero-form .hs-form-required,
.contact-form-section .hs-form-required {
    color: var(--accent-color) !important;
}

/* HubSpot Multi-column fields fix */
.hero-form .hs-form .inputs-list,
.contact-form-section .hs-form .inputs-list {
    display: block !important;
}

.hero-form .hs-form .hs-form-checkbox,
.hero-form .hs-form .hs-form-radio,
.contact-form-section .hs-form .hs-form-checkbox,
.contact-form-section .hs-form .hs-form-radio {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.75rem !important;
    min-height: 44px !important;
}

/* HubSpot Dropdown Select */
.hero-form select,
.contact-form-section select {
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
}

/* HubSpot Form Submission Messages */
.hero-form .submitted-message,
.contact-form-section .submitted-message {
    padding: 1.5rem !important;
    background: #d1fae5 !important;
    border: 1px solid #10b981 !important;
    border-radius: 0.5rem !important;
    color: #065f46 !important;
    font-size: 16px !important;
    text-align: center !important;
}

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

section {
    padding: 4rem 0;
}

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

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-content li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* 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: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

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

.reviewer-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.team-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
}

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

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

.team-bio {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

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

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

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

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

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

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

/* Blog Section */
.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: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

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

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.read-more:hover {
    color: var(--primary-color);
}

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

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

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.article-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.article-content h2 {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.25rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

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

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

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

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

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

.area-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.area-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.area-card h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
}

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

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

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

/* Utility Classes */
.bg-light {
    background: var(--bg-light);
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Responsive image grids for Services and Areas pages */
    section [style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
    
    section [style*="grid-template-columns: 1fr 1fr"] > div {
        order: 1 !important;
        margin-bottom: 2rem;
    }
    
    section [style*="grid-template-columns: 1fr 1fr"] img {
        margin-bottom: 2rem;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    nav ul.mobile-active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .hero-form {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 1.5rem !important;
    }
    
    .contact-form-section {
        padding: 1.5rem !important;
    }
    
    /* Mobile-specific form fixes */
    .hero-form,
    .contact-form-section {
        overflow: visible !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Ensure HubSpot forms are fully responsive on mobile */
    .hero-form .hs-form,
    .contact-form-section .hs-form {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .hero-form .hs-form-field,
    .contact-form-section .hs-form-field {
        width: 100% !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Mobile input styling */
    .hero-form input,
    .hero-form select,
    .hero-form textarea,
    .contact-form-section input,
    .contact-form-section select,
    .contact-form-section textarea {
        font-size: 16px !important;
        padding: 14px 15px !important;
        min-height: 48px !important;
    }
    
    /* Mobile button styling */
    .hero-form input[type="submit"],
    .hero-form .hs-button,
    .contact-form-section input[type="submit"],
    .contact-form-section .hs-button {
        width: 100% !important;
        padding: 16px 20px !important;
        min-height: 54px !important;
        font-size: 17px !important;
        margin-top: 0.5rem !important;
    }
    
    /* Ensure labels are readable */
    .hero-form label,
    .contact-form-section label {
        font-size: 15px !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Mobile textarea */
    .hero-form textarea,
    .contact-form-section textarea {
        min-height: 120px !important;
    }
    
    /* Remove any negative margins that could cause overflow */
    .hero-form *,
    .contact-form-section * {
        max-width: 100% !important;
    }
    
    /* Fix HubSpot fieldset layouts on mobile */
    .hero-form .hs-fieldtype-checkbox,
    .hero-form .hs-fieldtype-radio,
    .contact-form-section .hs-fieldtype-checkbox,
    .contact-form-section .hs-fieldtype-radio {
        width: 100% !important;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    /* Extra small mobile form optimizations */
    .hero-form,
    .contact-form-section {
        padding: 1.25rem !important;
        margin: 0 !important;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    /* Compact form fields for very small screens */
    .hero-form input,
    .hero-form select,
    .hero-form textarea,
    .contact-form-section input,
    .contact-form-section select,
    .contact-form-section textarea {
        font-size: 16px !important;
        padding: 12px 12px !important;
    }
    
    .hero-form label,
    .contact-form-section label {
        font-size: 14px !important;
    }
    
    /* Ensure button remains large enough */
    .hero-form input[type="submit"],
    .hero-form .hs-button,
    .contact-form-section input[type="submit"],
    .contact-form-section .hs-button {
        padding: 15px 18px !important;
        font-size: 16px !important;
        min-height: 50px !important;
    }
    
    /* Reduce section header size */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    /* Optimize container padding */
    .container {
        padding: 0 1rem;
    }
}

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

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

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}
