/* City Land Surveyors Perth - Navy Orange Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- COLOUR SCHEME: Navy Orange (#1) --- */
:root {
    --primary: #0B2545;        /* Deep Navy - Header, Footer, Headings */
    --secondary: #EEF4ED;      /* Cool Grey - Section Backgrounds */
    --accent: #FF6B35;         /* Safety Orange - CTAs, Phone Numbers */
    --text: #13315C;           /* Charcoal - Body Text */
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --dark-accent: #e55a2b;    /* Darker orange for hover */
    --max-width: 1240px;
    --border-radius: 6px;
    /* Legacy variable aliases */
    --primary-dark: #0B2545;
    --text-light: #555;
    --text-dark: #13315C;
    --bg-light: #EEF4ED;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 1 !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(0) !important;
}

/* Elements that will fade in start hidden and slightly offset */
.service-card,
.usp-item,
.testimonial-card,
.stat-item {
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* --- UTILITIES --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--secondary); }
.bg-dark { background-color: var(--primary); color: var(--white); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: #061830; }
.btn-accent { background-color: var(--accent); color: var(--white); }
.btn-accent:hover { background-color: var(--dark-accent); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* --- HEADER --- */
header, .header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(11, 37, 69, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: var(--text); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.header-cta {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}
.header-cta:hover { background-color: var(--dark-accent); }
.header-cta svg { width: 18px; height: 18px; stroke: var(--white); }

/* Dropdown */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links .has-dropdown > a svg { transition: transform 0.3s ease; }
.nav-links .has-dropdown:hover > a svg { transform: rotate(180deg); }
.nav-links .dropdown {
    position: absolute; top: 100%; left: 0; background: var(--white);
    min-width: 240px; box-shadow: 0 10px 40px rgba(11, 37, 69, 0.15);
    border-radius: 8px; padding: 12px 0; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all 0.3s ease; z-index: 100;
    border-top: 3px solid var(--accent);
}
.nav-links .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .dropdown a { display: block; padding: 12px 20px; font-weight: 500; text-transform: none; }
.nav-links .dropdown a:hover { background: var(--secondary); padding-left: 25px; color: var(--accent); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.mobile-menu-btn span { display: block; width: 26px; height: 3px; background: var(--primary); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
    background-size: cover;
    background-position: center;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.85) 0%, rgba(19, 64, 116, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-layout, .hero-content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}
.hero-content, .hero-text { color: var(--white); padding-top: 20px; }
.hero-content h1, .hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p, .hero-text p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.95; line-height: 1.8; }
.hero-features { margin-bottom: 30px; }
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}
.hero-feature svg { color: var(--accent); flex-shrink: 0; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 30px; }

/* Hero Form Card */
.hero-form-card, .quote-form {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-form-card h3, .quote-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.hero-form-card > p, .quote-form > p {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.form-group { margin-bottom: 18px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e5e9;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover { background: var(--dark-accent); }
.form-note { text-align: center; font-size: 0.85rem; color: #777; margin-top: 15px; }

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(11, 37, 69, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(11, 37, 69, 0.15);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card-content {
    padding: 25px;
}
.service-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}
.read-more {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.read-more:hover { gap: 10px; }

/* --- SECTION HEADERS --- */
.section-header {
    max-width: 750px;
    margin: 0 auto 40px;
}
.section-header h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- WHY US / FEATURES SECTION --- */
.why-us-section, .features-section {
    background: var(--primary);
    padding: 80px 0;
    color: var(--white);
}
.why-us-section h2, .features-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-box {
    text-align: center;
    padding: 30px 20px;
}
.feature-box .icon {
    width: 70px;
    height: 70px;
    background: rgba(255,107,53,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.feature-box .icon svg { width: 32px; height: 32px; color: var(--accent); }
.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
}
.feature-box p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- STATS SECTION --- */
.stats-section {
    background: var(--secondary);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-item .label {
    font-size: 1rem;
    color: var(--text);
    margin-top: 10px;
    font-weight: 600;
}

/* --- CTA BANNER --- */
.cta-banner, .cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #ff8c5a 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}
.cta-banner h2, .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}
.cta-banner p, .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}
.cta-banner .btn, .cta-section .btn { margin: 0 10px; }

/* --- CONTENT SECTIONS --- */
.content-section {
    padding: 80px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}
.content-main h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 30px 0 15px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 25px 0 12px;
}
.content-main p {
    margin-bottom: 18px;
    line-height: 1.8;
}
.content-main ul, .content-main ol {
    margin: 15px 0 20px 25px;
    list-style: disc;
}
.content-main ol { list-style: decimal; }
.content-main ul li, .content-main ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.content-main a {
    color: var(--accent);
    font-weight: 600;
}
.content-main a:hover { text-decoration: underline; }

/* Sidebar */
.content-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: var(--secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}
.sidebar-widget h3, .sidebar-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.service-list a {
    display: block;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s;
}
.service-list a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}
.quote-widget {
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}
.quote-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.quote-widget p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    background: var(--secondary);
    padding: 80px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(11, 37, 69, 0.06);
}
.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.testimonial-card p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--primary);
}
.testimonial-card .location {
    font-size: 0.9rem;
    color: #777;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: 80px 0;
}
.faq-item {
    border-bottom: 1px solid #e0e5e9;
    margin-bottom: 0;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-question:hover { color: var(--accent); }
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 0 0;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}
.faq-answer p { line-height: 1.8; color: var(--text); }

/* --- CONTACT PAGE --- */
.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}
.contact-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-item p {
    color: var(--text);
    margin: 0;
}
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.area-tag {
    background: var(--secondary);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}
.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul a {
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--white);
}
.footer-col ul a:hover {
    opacity: 1;
    color: var(--accent);
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--white);
}
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}
.footer-bottom a { color: var(--white); }
.footer-bottom a:hover { color: var(--accent); }

/* --- BLOG CARDS --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(11, 37, 69, 0.06);
    transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card-content {
    padding: 25px;
}
.blog-card .date {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}
.blog-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

/* Related Articles */
.related-articles {
    background: var(--secondary);
    padding: 60px 0;
}
.related-articles h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

/* --- TABLE STYLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(11, 37, 69, 0.06);
}
table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}
table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
table tr:last-child td { border-bottom: none; }
table tr:hover { background: var(--secondary); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-layout, .hero-content-wrapper { grid-template-columns: 1fr; }
    .hero-form-card, .quote-form { max-width: 500px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .content-sidebar { position: static; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1, .hero-text h1 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .section-padding { padding: 60px 0; }
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 0;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-links.active li { padding: 15px 0; border-bottom: 1px solid #eee; }
.nav-links.active .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 0 0 20px;
    border-top: none;
}

/* Page header for internal pages */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* Page Hero (Service Pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}
.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}
.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Breadcrumb below hero */
.breadcrumb {
    background: var(--secondary);
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text);
}
.breadcrumb span {
    margin: 0 8px;
    opacity: 0.6;
}

/* Area tags in sidebar */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.area-tag {
    background: var(--secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

/* Service page specific */
.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
    padding: 100px 0 80px;
    color: var(--white);
}
.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.service-hero p {
    font-size: 1.15rem;
    max-width: 700px;
    opacity: 0.95;
    line-height: 1.8;
}

/* Area coverage list */
.area-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}
.area-list li {
    background: var(--secondary);
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
    list-style: none;
}

@media (max-width: 768px) {
    .area-list { grid-template-columns: repeat(2, 1fr); }
}

/* Process steps */
.process-steps {
    counter-reset: step;
}
.process-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(11, 37, 69, 0.06);
}
.process-step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
}
.process-step h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}
.process-step p {
    margin: 0;
    line-height: 1.7;
}

/* Pricing table */
.pricing-table {
    width: 100%;
    margin: 30px 0;
}
.pricing-table th {
    background: var(--primary);
    color: var(--white);
}
.pricing-table .price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.contact-info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}
.contact-info-card a {
    color: var(--accent);
    font-weight: 600;
}
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(11, 37, 69, 0.1);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Thank you page */
.thank-you-section {
    text-align: center;
    padding: 100px 20px;
}
.thank-you-section .icon {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}
.thank-you-section .icon svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}
.thank-you-section h1 {
    color: var(--primary);
    margin-bottom: 20px;
}
.thank-you-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --- NAV WRAPPER (Sydney Template) --- */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- HUB LAYOUT (Why Us Section) --- */
.hub-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.hub-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hub-center {
    background: var(--accent);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    box-shadow: 0 10px 40px rgba(255,107,53,0.3);
}
.why-us-section .feature-box {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
}
.why-us-section .feature-box .dots {
    color: var(--accent);
    font-size: 1.5rem;
    letter-spacing: 8px;
    margin-bottom: 10px;
    display: block;
}
.why-us-section .feature-box h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.why-us-section .feature-box p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .hub-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hub-center {
        margin: 20px auto;
    }
    .why-us-section .feature-box {
        text-align: center;
    }
}

/* --- HERO FEATURES LIST --- */
.hero-features {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}
.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}
.hero-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- BUTTONS EXTENDED --- */
.btn-gold {
    background: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.btn-gold:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
}

/* --- TRUST SECTION --- */
.trust {
    background: var(--secondary);
    padding: 80px 0;
}
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.stat-item {
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 1rem;
    color: var(--text);
    margin-top: 10px;
    font-weight: 600;
}
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(11,37,69,0.08);
}
.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
    font-size: 0.95rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-info strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
}
.testimonial-info span {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .trust-stats { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: 1fr; }
}

/* --- CTA SECTION --- */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}
.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta .btn {
    padding: 16px 32px;
    font-weight: 700;
    background: var(--accent);
    color: var(--white);
}
.cta .btn:hover {
    background: var(--dark-accent);
}

/* --- FAQ DETAILS/SUMMARY STYLE --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
details.faq-item {
    border-bottom: 1px solid #e0e5e9;
}
details.faq-item summary {
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 400;
}
details.faq-item[open] summary::after {
    content: '−';
}
details.faq-item summary:hover {
    color: var(--accent);
}
details.faq-item p {
    padding-bottom: 20px;
    line-height: 1.8;
    color: var(--text);
}
details.faq-item a {
    color: var(--accent);
    font-weight: 600;
}

/* --- SIDEBAR CARD (Alternative Style) --- */
.sidebar-card {
    background: var(--secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}
.sidebar-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.sidebar-card ul {
    list-style: none;
}
.sidebar-card ul li {
    margin-bottom: 10px;
}
.sidebar-card ul a {
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
}
.sidebar-card ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* --- STICKY CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    padding: 15px 20px;
    z-index: 999;
    display: none;
}
.sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}
.sticky-cta svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }
    footer {
        padding-bottom: 80px;
    }
}

/* --- USP GRID (About Page) --- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.usp-item {
    background: var(--secondary);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}
.usp-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.usp-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
}
.usp-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.usp-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}

@media (max-width: 600px) {
    .usp-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER LEGACY SUPPORT --- */
.footer { background: var(--primary); color: var(--white); padding: 60px 0 30px; }
.footer-brand { }
.footer-logo { height: 40px; margin-bottom: 10px; background: var(--white); padding: 8px 12px; border-radius: 6px; }
.logo-text { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--white); opacity: 0.9; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); opacity: 1; }

/* --- ADDITIONAL VARIABLE ALIASES --- */
.bg-light, [style*="var(--bg-light)"] { background-color: var(--secondary) !important; }

/* --- BTN SECONDARY --- */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Page hero btn-secondary style */
.page-hero .btn-secondary {
    border-color: var(--accent);
    color: var(--white);
    background: var(--accent);
}
.page-hero .btn-secondary:hover {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
}

/* CTA btn-secondary */
.cta .btn-secondary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}
.cta .btn-secondary:hover {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
}
