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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.015em;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
}

.btn-primary {
    background-color: #1a3542;
    color: #ffffff;
    border: 2px solid #1a3542;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0f1f26;
    border-color: #0f1f26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 53, 66, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #4b849f;
    border: 2px solid #4b849f;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #4b849f;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #ffffff;
    border-bottom: 2px solid #e1b62f;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    z-index: 100;
    margin-top: 86px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 0.9rem;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 0.5rem;
    color: #666666;
    font-weight: bold;
}

.breadcrumb-item a {
    color: #4b849f;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #e1b62f;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb {
        display: none;
    }
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(75, 132, 159, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(75, 132, 159, 0.2);
    transition: box-shadow 0.3s ease;
}

.logo img:hover {
    box-shadow: 0 4px 12px rgba(75, 132, 159, 0.3);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #2c3e50 0%, #4b849f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(75, 132, 159, 0.1);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #4b849f 0%, #e1b62f 100%);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4b849f 0%, #e1b62f 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: linear-gradient(135deg, rgba(75, 132, 159, 0.1) 0%, rgba(225, 182, 47, 0.1) 100%);
    color: #4b849f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 132, 159, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d9d9d9 0%, #e1b62f 100%);
    padding: 140px 0 100px;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(75, 132, 159, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(225, 182, 47, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.hero-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e1b62f;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e1b62f;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-icon {
    font-size: 1.2rem;
    color: #e1b62f;
    font-weight: bold;
}

.trust-text {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-item {
        padding: 0.5rem 0.75rem;
    }
    
    .trust-text {
        font-size: 0.85rem;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e1b62f 0%, #d4a428 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #4b849f 50%, transparent 100%);
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333333;
}

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

.stat {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4b849f;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4b849f;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666666;
    font-weight: 500;
}

/* Services Section */
.services {
    background-color: #d9d9d9;
}

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

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(91, 157, 161, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e1b62f 0%, #d4a428 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(75, 132, 159, 0.2);
    border-color: rgba(75, 132, 159, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #4b849f 0%, #3a6b82 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(75, 132, 159, 0.3);
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 44px;
    height: 44px;
    color: white;
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 132, 159, 0.4);
}

.service-card h3 {
    color: #4b849f;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #666666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background-color: #ffffff;
    padding: 100px 0;
}

.gallery-description {
    text-align: center;
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-feed-container {
    display: none;
    margin: 3rem 0;
    min-height: 400px;
}

#instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    #instagram-feed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.instagram-post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-4px);
}

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

.instagram-post-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.4;
}

.instagram-loading {
    text-align: center;
    color: #666666;
    font-style: italic;
    padding: 3rem;
}

.instagram-manual-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.manual-post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.manual-post:hover {
    transform: translateY(-4px);
}

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

.manual-post-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.4;
    font-weight: 500;
}

.instagram-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(75, 132, 159, 0.05) 0%, rgba(225, 182, 47, 0.05) 100%);
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid rgba(75, 132, 159, 0.1);
}

.instagram-cta p {
    font-size: 1.1rem;
    color: #333333;
    margin: 0;
    font-weight: 500;
}

.instagram-link {
    color: #e1b62f;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.instagram-link:hover {
    background-color: #e1b62f;
    color: white;
    border-bottom-color: #e1b62f;
    transform: translateY(-1px);
}

/* EmbedSocial Feed Styling */
.feed-powered-by-es {
    text-align: center !important;
    font-size: 0.85rem !important;
    color: #999999 !important;
    margin-top: 1rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.feed-powered-by-es:hover {
    color: #4b849f !important;
}

/* Responsive styling for Instagram feed */
@media (max-width: 768px) {
    .instagram-feed-container {
        min-height: 300px;
        margin: 2rem 0;
    }
    
    .instagram-cta {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .instagram-cta p {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
    padding: 100px 0;
}

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

.faq-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(75, 132, 159, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(75, 132, 159, 0.15);
}

.faq-question {
    color: #4b849f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-answer {
    color: #333333;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
}

/* Service Area Section */
.service-area {
    background-color: #f5f5f5;
    padding: 100px 0;
}

.service-area-description {
    text-align: center;
    font-size: 1.125rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.regional-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(75, 132, 159, 0.05) 0%, rgba(225, 182, 47, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(75, 132, 159, 0.1);
}

.region-benefit {
    text-align: center;
    padding: 1.5rem;
}

.region-benefit h3 {
    color: #4b849f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.region-benefit p {
    color: #333333;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .regional-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .region-benefit {
        padding: 1rem;
    }
    
    .region-benefit h3 {
        font-size: 1.2rem;
    }
}

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

.county-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(75, 132, 159, 0.1);
    position: relative;
    overflow: hidden;
}

.county-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e1b62f 0%, #d4a428 100%);
}

.county-title {
    color: #4b849f;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.towns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.town-link {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(75, 132, 159, 0.05);
    color: #4b849f;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(75, 132, 159, 0.1);
}

.town-link:hover {
    background: #4b849f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 132, 159, 0.3);
}

.town-link:focus {
    outline: 2px solid #e1b62f;
    outline-offset: 2px;
}

.town-link.selected {
    background: #e1b62f;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(225, 182, 47, 0.4);
}

.town-highlight {
    color: #e1b62f;
    font-weight: 800;
}

.reset-town-btn {
    margin-top: 1.5rem;
    display: none;
}

.service-area-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(225, 182, 47, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(225, 182, 47, 0.2);
}

.service-area-footer p {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

.contact-link {
    color: #8b6914;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #5d4609;
    border-bottom-color: #5d4609;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .service-area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .towns-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .town-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

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

.contact-info h3 {
    color: #4b849f;
    margin-bottom: 1rem;
}

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

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e1e1;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    display: block;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a {
    color: #1a3542;
    text-decoration: none;
    font-weight: 700;
}

.contact-item a:hover {
    color: #0f1f26;
    text-decoration: underline;
}

.contact-item address {
    font-style: normal;
    color: #666666;
}

/* Contact Form */
.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    color: #4b849f;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4b849f;
    box-shadow: 0 0 0 3px rgba(75, 132, 159, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid #e1b62f;
    box-shadow: 0 4px 12px rgba(225, 182, 47, 0.4);
    background: #ffffff;
    padding: 6px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #d9d9d9;
}

.footer-powered {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
}

.footer-powered p {
    font-size: 0.9rem;
    color: #999999;
    margin: 0;
}

.footer-powered a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: #e1b62f;
}

/* Error Modal Styles */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.error-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.error-modal-header {
    background-color: #f8d7da;
    border-bottom: 1px solid #f5c6cb;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-modal-header h3 {
    color: #721c24;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.error-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #721c24;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.error-modal-close:hover {
    background-color: rgba(114, 28, 36, 0.1);
}

.error-modal-body {
    padding: 1.5rem;
}

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

.error-content svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.error-content p {
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.error-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.error-modal-ok {
    background-color: #721c24;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.error-modal-ok:hover {
    background-color: #5a1519;
}

@media (max-width: 768px) {
    .error-modal {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .error-modal-header,
    .error-modal-body {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        padding: 3rem 0;
        border-top: 1px solid rgba(75, 132, 159, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.75rem 0;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInNav 0.5s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }
    
    .nav-menu a {
        display: block;
        margin: 0 2rem;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(75, 132, 159, 0.05) 0%, rgba(225, 182, 47, 0.05) 100%);
        border: 1px solid rgba(75, 132, 159, 0.1);
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, rgba(75, 132, 159, 0.15) 0%, rgba(225, 182, 47, 0.15) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(75, 132, 159, 0.2);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Navigation Animations */
@keyframes slideInNav {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-menu a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #4b849f;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4b849f;
    color: white;
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000000;
        color: #ffffff;
        border: 3px solid #000000;
    }
    
    .service-card {
        border: 2px solid #000000;
    }
    
    .contact-link,
    .contact-item a {
        color: #000000;
        text-decoration: underline;
    }
    
    .service-area-description,
    .service-area-footer p {
        color: #000000;
        font-weight: 700;
    }
    
    .service-area {
        background-color: #ffffff;
    }
}

/* Footer Contact Links Styling */
.footer-contact a {
    color: white;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-contact a:hover {
    text-decoration: underline;
}