/* ================================
   WOODROCK CARE - UPDATED STYLESHEET
   Based on Apical Care Design
   ================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ============ HEADER ============ */
.header-wrapper {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    background: white;
    padding: 15px 0;
}

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

/* Header CTA Buttons */
.header-cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-btn-primary {
    background: #1e3a8a;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.header-btn-emergency {
    background: #ff5722;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-btn-emergency:hover {
    background: #f4511e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

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

/* ============ NAVIGATION ============ */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    align-items: center;
}

.desktop-nav > ul > li {
    position: relative;
}

.desktop-nav > ul > li > a {
    color: #1e3a8a;
    text-decoration: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
}

.desktop-nav > ul > li > a:hover {
    color: #3b82f6;
}

.dropdown-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #1e3a8a;
    font-size: 10px;
    color: #1e3a8a;
    transition: all 0.3s;
    border-radius: 3px;
}

.desktop-nav > ul > li > a:hover .dropdown-arrow {
    background: #1e3a8a;
    color: white;
}

/* Dropdown Menu */
.desktop-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 270px;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    flex-direction: column;
    z-index: 1000;
    padding: 0;
    margin-top: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.desktop-nav > ul > li:hover > ul,
.desktop-nav ul ul:hover {
    display: flex;
}

.desktop-nav ul ul li {
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
}

.desktop-nav ul ul li:last-child {
    border-bottom: none;
}

.desktop-nav ul ul li a {
    color: #1e3a8a;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    width: 100%;
}

.desktop-nav ul ul li a:hover {
    background: #eff6ff;
    color: #1e3a8a;
}

/* ============ HERO BANNER ============ */
.hero-banner {
    position: relative;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
}

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

.hero-content h2 {
    font-size: 14px;
    color: #93c5fd;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 52px;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: white;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-btn {
    background: white;
    color: #1e3a8a;
    padding: 16px 45px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ============ TRUST BADGES / PURPLE SECTION ============ */
.purple-section {
    background: #1e3a8a;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.purple-section h2 {
    font-size: 38px;
    margin-bottom: 25px;
    font-weight: 700;
}

.purple-section p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto 15px;
}

/* ============ CONTAINER & CONTENT ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.content-section {
    display: none;
}

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

.content-section h2 {
    font-size: 42px;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-weight: 700;
}

.content-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 20px;
}

.content-section h3 {
    color: #1e3a8a;
    font-size: 28px;
    margin: 40px 0 20px;
    font-weight: 700;
}

.content-section h4 {
    color: #1e3a8a;
    font-size: 20px;
    margin: 20px 0 15px;
    font-weight: 600;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 17px;
    color: #4b5563;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-size: 20px;
    font-weight: bold;
}

/* ============ LIGHT BACKGROUND SECTION ============ */
.light-purple-section {
    background: #f0f4f8;
    padding: 80px 40px;
}

.light-purple-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 25px;
    color: #1e3a8a;
    font-weight: 700;
}

/* ============ SERVICE CARDS - APICAL STYLE ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fffaf5;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.service-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.service-card-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.service-card-link {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    font-size: 15px;
}

.service-card-link:hover {
    color: #3b82f6;
    gap: 10px;
}

.service-card-button {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 12px 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-radius: 0;
}

.service-card-button:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* ============ FEATURES GRID ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.feature-box h4 {
    color: #1e3a8a;
    font-size: 20px;
    margin: 20px 0 15px;
    font-weight: 700;
}

.feature-box p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

/* ============ CQC BADGE SECTION ============ */
.cqc-badge-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.cqc-badge-section img {
    max-width: 180px;
    height: auto;
}

/* ============ CTA BOX ============ */
.cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 50px;
    border-radius: 12px;
    margin: 50px 0;
    text-align: center;
    border: 1px solid #bfdbfe;
}

.cta-box h3 {
    color: #1e3a8a;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-box p {
    font-size: 17px;
    margin-bottom: 30px;
    color: #4b5563;
}

.cta-button {
    display: inline-block;
    padding: 16px 50px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    font-size: 15px;
}

.cta-button:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* ============ TESTIMONIAL SECTION ============ */
.testimonial-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ef 100%);
    padding: 80px 40px;
    text-align: center;
}

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

.testimonial-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 20px;
}

.testimonial-title {
    font-size: 16px;
    color: #6b7280;
}

/* ============ ACCREDITATION ============ */
.accreditation-section {
    background: white;
    padding: 50px 40px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.accreditation-logos img {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s;
}

.accreditation-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ============ FOOTER ============ */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo-section img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-logo-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #93c5fd;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    font-size: 14px;
    color: #9ca3af;
}

/* ============ HAMBURGER / MOBILE ============ */
.hamburger {
    display: none;
    background: #1e3a8a;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .desktop-nav > ul {
        display: none;
    }

    .header-cta-buttons {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .container {
        padding: 60px 30px;
    }
}

@media (max-width: 568px) {
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .container {
        padding: 40px 20px;
    }

    .light-purple-section,
    .purple-section,
    .testimonial-section {
        padding: 60px 20px;
    }
}