/* style.css */

@import url('https://fonts.fonts.google.com/specimen/Poppins?query=poppins&sort=popularity');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: #15316f;
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
}
header .logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    border-radius: 5px;
}
nav a:hover {
    background-color: #0d2146;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
    header .logo-text {
        font-size: 2rem;
    }
    nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: #15316f;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        margin: 0;
        padding: 0;
    }
    nav ul.active {
        height: 200px;
        padding: 1rem 0;
    }
    nav li {
        width: 100%;
    }
    nav a {
        display: block;
        width: 100%;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

/* Main Content Containers */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
h1, h2 {
    color: #15316f;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
h3 {
    color: #15316f;
    font-size: 1.5rem;
    text-align: center;
}
p {
    text-align: left;
    color: #555555;
}

/* Specific Section Styles */
.hero {
    text-align: center;
}
.hero p {
    font-size: 1.1rem;
    text-align: center;
}
.blue-bold {
    color: #15316f;
    font-weight: 700;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #FF8C00; /* Changed to orange */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #CC7000; /* Darker orange on hover */
}
.services-list ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.services-list li {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.path-to-mind ol {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.path-to-mind ol li {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 700;
    color: #15316f;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Service Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}
.filter-buttons a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #e9e9e9;
    color: #15316f;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    margin: 0 5px;
    transition: background-color 0.3s;
}
.filter-buttons a:hover {
    background-color: #d1d1d1;
}
.filter-buttons a.active {
    background-color: #15316f;
    color: white;
}

/* Footer */
footer {
    background-color: #15316f;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}
.contact-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #15316f;
    font-weight: 700;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}
.contact-form .submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #FF8C00; /* Changed to orange */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contact-form .submit-button:hover {
    background-color: #CC7000; /* Darker orange on hover */
}
/* New Style for Intro List on Maintenance Package Page */
.intro-list {
    list-style-type: disc;
    text-align: left;
    margin-bottom: 2rem;
}
.intro-list li {
    background: none;
    box-shadow: none;
    padding-left: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}
.intro-list li .blue-bold {
    display: inline;
}

/* NEW STYLE for the opening sentence of each section */
.intro-sentence {
    display: block;
    font-weight: 700;
    color: #15316f;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonial-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.testimonial-card {
    background-color: #f0f4f8; /* Light blue background */
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #15316f; /* Blue accent line */
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: #444444;
    margin-bottom: 1rem;
}
.testimonial-card h4 {
    text-align: right;
    font-size: 1rem;
    color: #15316f;
    margin: 0;
}

/* Homepage specific styles */
.services-summary .cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.secondary-cta {
    background-color: #e9e9e9;
    color: #15316f;
    transition: background-color 0.3s;
}

.secondary-cta:hover {
    background-color: #d1d1d1;
}

/* NEW STYLE for the slogan on the homepage */
.slogan-text {
    color: #333333; /* Standard black/dark gray text */
    font-weight: normal; /* Removes the default bold from the h3 tag */
}

/* NEW STYLE for the R.A.B tagline on the homepage */
.blue-spark {
    color: #15316f;
    font-weight: 700;
}
.logo-container {
    position: relative;
}

.section-logo {
    position: absolute;
    margin: 0 0 60px auto;
    width: 10px; /* Adjust the logo size as needed */
    height: auto;
}
.hero-logo {
    display: block;
    margin: 0 auto -20px auto;
    width: 250px; /* Adjust this value to change the logo size */
    height: auto;
}
/* --- Terms & Conditions Page Styles --- */
.terms-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.terms-container h2 {
    font-size: 1.8rem;
    color: #15316f;
    margin-top: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}
.terms-container h3 {
    font-size: 1.4rem;
    color: #15316f;
    margin-top: 1.5rem;
}
.terms-container p {
    font-size: 0.8em; /* This makes the text even smaller */
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.logo-group {
    text-align: center;
    padding: 1rem 0 2rem;
    margin-bottom: -3rem;
}
.logo-group img {
    max-width: 250px;
    height: auto;
}
.napit-logo-container {
    text-align: center;
    padding: 2rem 0 1rem;
}
.napit-logo-container img {
    max-width: 150px;
    height: auto;
}
/* --- End of Terms & Conditions Styles --- */
/* --- Review & Rules Page Specific Styles --- */
.review-funnel-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    text-align: center;
    margin: 2rem auto;
}
.review-funnel-logo, .rules-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: -2rem;
}
.review-funnel-heading, .rules-heading {
    color: #15316f;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.funnel-step {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}
.funnel-step.active {
    display: block;
}
.review-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    max-width: 300px;
    padding: 0.8rem 1rem;
    background-color: #15316f;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
}
.review-links a:hover {
    background-color: #0d2146;
    transform: translateY(-2px);
}
.review-links a i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}
.review-links a.google {
    background-color: #4285F4;
    color: white;
}
.review-links a.google:hover {
    background-color: #3b76d6;
}
.review-links a.facebook {
    background-color: #1877F2;
    color: white;
}
.review-links a.facebook:hover {
    background-color: #1461c6;
}
.review-links a.email {
    background-color: #FF8C00;
    color: white;
}
.review-links a.email:hover {
    background-color: #CC7000;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}
.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.5s ease-in-out;
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close-button:hover, .close-button:focus {
    color: #333;
}
.modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.modal-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #FF8C00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-weight: 700;
}
.modal-button:hover {
    background-color: #CC7000;
}
/* Rules Page Specific Styles */
.rules-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    width: 90%;
    margin: 2rem auto;
    text-align: left;
}
.rules-logo {
    display: block;
    margin: 0 auto 1.5rem;
    max-width: 150px;
}
.rules-heading {
    text-align: center;
    font-size: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.rules-content h2 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    color: #15316f;
    border-bottom: none;
    padding-bottom: 0;
}

/* NEW STYLE for the highlighted referral box */
.referral-box {
    background-color: #15316f;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

.referral-box p {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }

}
