/* Combined Main Stylesheet for Wilsons Solicitors */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, system-ui, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #edf2f7;
    font-size: 16px;
    font-weight: 400;
}

/* Header Styles */
.header {
    background: #edf2f7;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    padding: 8px 20px 6px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, system-ui, sans-serif;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    margin-bottom: 5px;
}

.logo-image {
    margin-bottom: 0;
}

.logo-img {
    width: 65px;
    height: auto;
    margin-bottom: 3px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.7rem;
    color: #666;
    font-weight: normal;
    letter-spacing: 0.8px;
    margin-top: 1px;
}

.nav-section {
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2c5aa0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Dropdown Menu Styles */
.nav-menu li {
    position: relative;
}

.nav-menu .has-dropdown > a::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: #f7fafc;
    color: #2c5aa0;
    transform: none;
    box-shadow: none;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* Christmas Closure Banner */
.christmas-banner {
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 50%, #c41e3a 100%);
    border-bottom: 4px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.christmas-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: snow 20s linear infinite;
}

@keyframes snow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.christmas-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.christmas-icons {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
}

.christmas-icon {
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.christmas-icon:nth-child(1) {
    animation-delay: 0s;
}

.christmas-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.christmas-icon:nth-child(3) {
    animation-delay: 0.4s;
}

.christmas-icon:nth-child(4) {
    animation-delay: 0.6s;
}

.christmas-icon:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.christmas-message {
    text-align: center;
    color: white;
    flex: 1;
}

.christmas-message h3 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffd700;
}

.christmas-message p {
    margin: 0.25rem 0;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.closure-dates {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: #ffd700;
    margin: 0.75rem 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.closure-note {
    font-style: italic;
    font-size: 0.95rem !important;
    opacity: 0.95;
}

/* Mobile Responsive for Christmas Banner */
@media (max-width: 768px) {
    .christmas-banner {
        padding: 1rem;
    }

    .christmas-banner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .christmas-icons {
        font-size: 1.5rem;
        gap: 0.3rem;
    }

    .christmas-message h3 {
        font-size: 1.3rem;
    }

    .christmas-message p {
        font-size: 0.9rem;
    }

    .closure-dates {
        font-size: 1.1rem !important;
    }

    .closure-note {
        font-size: 0.85rem !important;
    }
}

/* Hide Christmas icons on very small screens */
@media (max-width: 480px) {
    .christmas-icons {
        display: none;
    }

    .christmas-banner {
        padding: 0.75rem 0.5rem;
    }

    .christmas-message h3 {
        font-size: 1.1rem;
    }

    .christmas-message p {
        font-size: 0.85rem;
    }

    .closure-dates {
        font-size: 1rem !important;
    }
}

/* Mobile Call Banner - Hidden on Desktop */
.mobile-call-banner {
    display: none;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #edf2f7;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav-menu {
    list-style: none;
    padding: 1rem;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0.5rem 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 10px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mobile-nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-section {
        display: none;
    }

    /* Hide phone section on mobile to prevent overlap */
    .phone-section {
        display: none !important;
    }

    /* Show Mobile Call Banner */
    .mobile-call-banner {
        display: block;
        background: #2c5aa0;
        padding: 12px 20px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .mobile-call-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: white;
        color: #2c5aa0;
        padding: 14px 32px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 900;
        font-size: 1.25rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 400px;
    }

    .mobile-call-button:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .phone-icon {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu.active {
        display: block;
    }

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

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

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

    /* Adjust header for mobile */
    .header {
        padding: 10px 20px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 0.65rem;
    }
}

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

/* Hero Section */
.hero {
    background: white;
    color: #2d3748;
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero with Australian Landmark Image */
.hero-local {
    background: url('../images/Hero_Image-1920w.webp') no-repeat;
    background-position: center 15%;
    background-size: 77.625% 172.5%;
    background-color: #1a2942;
    color: white;
    min-height: 632.5px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 2rem 3rem 2rem;
    position: relative;
}

/* Hide mobile hero image on desktop */
.hero-mobile-bg {
    display: none;
}

.hero-local .hero-content {
    background: rgba(44, 90, 160, 0.85);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(3px);
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-local .hero-content h1 {
    color: #1a1a1a !important;
    text-shadow: 0 1px 3px rgba(255,255,255,0.5);
    font-weight: 800;
}

.hero-local .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c5aa0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.25rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Service Areas - Card Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

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

.service-card:hover::before {
    width: 6px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1e4080;
}

/* Service Group Styling for Services Page */
.service-group {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2c5aa0;
}

.service-group:last-child {
    margin-bottom: 0;
}

.service-group h3 {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.service-group p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.service-group p:last-child {
    margin-bottom: 0;
}

.service-group strong {
    color: #2d3748;
    font-weight: 600;
}

/* Service Detail Pages */
.service-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-detail h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-detail h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-detail p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-features {
    margin-top: 2rem;
}

.service-list {
    margin: 1rem 0 1.5rem 2rem;
    color: #4a5568;
    line-height: 1.8;
}

.service-list li {
    margin-bottom: 0.8rem;
}

.service-list li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Service CTA Section Fix */
.service-detail .cta-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem -2rem -2rem -2rem;
}

.service-detail .cta-section h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-detail .cta-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

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

/* Why Choose Section */
.why-choose {
    background: #f7fafc;
    padding: 4rem 0;
}

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

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.advantage-card h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.advantage-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 4rem 0;
}

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

.testimonial-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #4a5568;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #2c5aa0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    padding: 4rem 0;
}

.cta-card {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.cta-primary {
    background: white;
    color: #2c5aa0;
    padding: 2rem 4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.cta-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Credentials Section */
.credentials-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.credentials-content {
    max-width: 800px;
    margin: 0 auto;
}

.credentials-content .intro-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.credentials-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.credential-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-item h3 {
    color: #2c5aa0;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-item p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
}

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

/* Map Section */
.map-section {
    background: #f7fafc;
    padding: 4rem 0;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-info h2 {
    color: #2c5aa0;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.map-details {
    margin-bottom: 2rem;
}

.map-details h3 {
    color: #2c5aa0;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* FAQ Styles */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.faq-tab {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-tab.active,
.faq-tab:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-1px);
}

.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f7fafc;
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c5aa0;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #edf2f7;
}

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

.faq-answer.open {
    padding: 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #4a5568;
}

/* Privacy Page Styles */
.privacy-content {
    background: white;
    padding: 3rem 0;
}

.privacy-content h2 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.privacy-content h3 {
    color: #2c5aa0;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: #2c5aa0;
    color: white;
    padding: 2rem 0 1.5rem 0;
}

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

.footer-left h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.footer-left p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.footer-left a {
    color: white;
    text-decoration: underline;
}

.footer-left a:hover {
    opacity: 0.8;
}

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

.social-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon img {
    width: 1.5rem;
    height: 1.5rem;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

.footer-right p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    opacity: 0.95;
}

/* Footer Bottom Section */
.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-bottom-content p {
    font-size: 0.8rem;
    margin: 0.25rem 0;
    opacity: 0.8;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    background: #2b6cb0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    .hero-local {
        min-height: auto;
        padding: 0;
        background: none !important;
        background-color: #1a2942 !important;
        display: block;
    }

    /* Show mobile hero image */
    .hero-mobile-bg {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 400px;
    }

    /* Stack hero content vertically */
    .hero-wrapper {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 2rem 1rem !important;
    }

    .hero-local .hero-content {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-local .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

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

    /* Resize the accredited badge on mobile */
    .accredited-badge {
        width: 150px !important;
        order: -1;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .services-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button.cta-primary,
    .cta-button.cta-secondary {
        text-align: center;
    }

    .cta-button.cta-primary {
        padding: 1.5rem 2rem;
        font-size: 1.25rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .faq-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .credentials-logos {
        gap: 2rem;
    }
    
    .credential-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .footer-content {
        gap: 1.5rem;
    }
}

/* Mobile Landscape Mode Fixes */
@media (max-width: 926px) and (max-height: 500px) and (orientation: landscape) {
    /* Hide phone section to prevent overlap */
    .phone-section {
        display: none !important;
    }

    /* Compact header for landscape */
    .header {
        padding: 5px 15px;
    }

    .logo-img {
        width: 45px !important;
    }

    .logo-text h1 {
        font-size: 1rem !important;
    }

    .tagline {
        font-size: 0.6rem !important;
    }

    /* Compact mobile call button */
    .mobile-call-banner {
        padding: 8px 15px;
    }

    .mobile-call-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .phone-icon {
        font-size: 1.2rem;
    }

    /* Compact hero section */
    .hero-mobile-bg {
        max-height: 250px;
    }

    .hero-wrapper {
        padding: 1rem 1rem !important;
        gap: 1rem !important;
    }

    .hero-local .hero-content {
        padding: 1rem;
    }

    .hero-local .hero-content h1 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem;
    }

    .hero-local .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .accredited-badge {
        width: 100px !important;
    }

    /* Compact mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        padding: 5px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    /* Hide desktop navigation in landscape */
    .nav-section {
        display: none !important;
    }

    /* Show mobile call banner */
    .mobile-call-banner {
        display: block !important;
    }
}