/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: #1e293b;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-links li a:hover {
    background-color: #0f172a;
}

.btn-primary {
    background-color: #38bdf8;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

.btn-danger {
    background-color: #f87171;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background-color: #f1f5f9;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3rem;
    color: #1e293b;
}

.hero p {
    font-size: 1.2rem;
    color: #475569;
    margin: 20px 0;
}

.hero-img {
    width: 80%;
    max-width: 700px;
    margin-top: 20px;
    border-radius: 15px;
}

.hero-content a {
    text-decoration: none !important;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Section Styles */
.section {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.how-it-works-desc {
    color: #475569;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* How It Works */
.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    flex: 1 1 250px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.step p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

/* About Us Section */
.about-us-desc {
    color: #475569;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.about-card {
    background-color: #ffffff;
    flex: 1 1 250px;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: #fff;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.about-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

/* Contact Us Section */
.contact-desc {
    color: #475569;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background-color: #ffffff;
    flex: 1 1 250px;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: #fff;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.contact-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}


/* Footer */
.footer {
    background-color: #1e293b;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    
}

.footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer ul li a {
    color: #38bdf8;
    text-decoration: none;
}

 /* Scoped CSS for Digi Phonebook Privacy Policy */
.dpb-privacy-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.dpb-privacy-container h1 {
    text-align: center;
    font-size: 2.2em;
    color: #1abc9c;
    margin-bottom: 20px;
}

.dpb-privacy-container h2 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-top: 30px;
    border-left: 4px solid #1abc9c;
    padding-left: 10px;
}

.dpb-privacy-container p,
.dpb-privacy-container li {
    font-size: 1em;
    line-height: 1.8;
}

.dpb-privacy-container ul {
    margin-left: 20px;
    margin-top: 10px;
}

.dpb-privacy-container a {
    color: #1abc9c;
    text-decoration: none;
}

.dpb-privacy-container a:hover {
    text-decoration: underline;
}

.dpb-section {
    margin-bottom: 25px;
}

.dpb-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9em;
    color: #777;
}


/* Scoped CSS for Digi Phonebook Terms of Use */
        .dpb-terms-container {
            max-width: 900px;
            margin: 50px auto;
            padding: 30px;
            background-color: #ffffff;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            border-radius: 12px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
        }

        .dpb-terms-container h1 {
            text-align: center;
            font-size: 2.2em;
            color: #1abc9c;
            margin-bottom: 20px;
        }

        .dpb-terms-container h2 {
            font-size: 1.4em;
            color: #2c3e50;
            margin-top: 30px;
            border-left: 4px solid #1abc9c;
            padding-left: 10px;
            text-transform: none; /* normal case */
        }

        .dpb-terms-container p,
        .dpb-terms-container li {
            font-size: 1em;
            line-height: 1.8;
            text-transform: none; /* normal case */
        }

        .dpb-terms-container ul {
            margin-left: 20px;
            margin-top: 10px;
        }

        .dpb-terms-container a {
            color: #1abc9c;
            text-decoration: none;
        }

        .dpb-terms-container a:hover {
            text-decoration: underline;
        }

        .dpb-section {
            margin-bottom: 25px;
        }

        .dpb-footer {
            text-align: center;
            margin-top: 50px;
            font-size: 0.9em;
            color: #777;
        }
