/*
Theme Name: Dental Grower
Theme URI: https://dentalgrower.com
Description: Custom theme for Dental Grower - Dental Marketing Agency
Author: Syed Sibtain Azhar
Author URI: https://dentalgrower.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: dental-grower
*/

:root {
    --dg-navy: #1B3D6F;
    --dg-navy-dark: #163259;
    --dg-teal: #2AAFA0;
    --dg-teal-dark: #1D9E8F;
    --dg-teal-light: #E0F5F3;
    --dg-navy-light: #E6EEF9;
    --dg-white: #FFFFFF;
    --dg-off-white: #F4F7FB;
    --dg-orange: #FF6B35;
    --dg-text-dark: #1A1A2E;
    --dg-text-body: #4A5568;
    --dg-text-muted: #718096;
    --dg-border: #E2E8F0;
    --dg-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --dg-section-padding: 80px 0;
    --dg-container-width: 1200px;
    --dg-radius-btn: 6px;
    --dg-radius-card: 12px;
    --dg-radius-pill: 24px;
    --dg-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --dg-shadow-hover: 0 4px 24px rgba(27,61,111,0.12);
}

body.home,
body.home button,
body.home input,
body.home select,
body.home textarea {
    font-family: var(--dg-font-primary) !important;
}

.dg-front-page {
    font-family: var(--dg-font-primary) !important;
    color: var(--dg-text-body);
    background: var(--dg-white);
}

.dg-container {
    max-width: var(--dg-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.dg-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--dg-radius-btn);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.dg-btn-primary {
    background: var(--dg-teal);
    color: var(--dg-white);
}
.dg-btn-primary:hover {
    background: var(--dg-teal-dark);
    color: var(--dg-white);
}
.dg-btn-outline {
    background: transparent;
    color: var(--dg-white);
    border: 2px solid var(--dg-white);
}
.dg-btn-outline:hover {
    background: var(--dg-white);
    color: var(--dg-navy);
}

/* Site Header */
.dg-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--dg-navy);
    width: 100%;
}
.dg-site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.dg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 70px;
}
.dg-logo {
    display: block;
    flex-shrink: 0;
}
.dg-nav-primary {
    flex: 1;
    display: flex;
    justify-content: center;
}
.dg-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dg-nav-links a {
    color: var(--dg-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.dg-nav-links a:hover {
    color: var(--dg-teal);
}
.dg-btn-audit {
    background: var(--dg-teal);
    color: var(--dg-white);
    padding: 10px 20px;
    border-radius: var(--dg-radius-btn);
    font-size: 14px;
    flex-shrink: 0;
}
.dg-btn-audit:hover {
    background: var(--dg-teal-dark);
    color: var(--dg-white);
}
.dg-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.dg-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dg-white);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.dg-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.dg-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.dg-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.dg-mobile-nav {
    display: flex;
    flex-direction: column;
    background: var(--dg-navy-dark);
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.dg-mobile-nav.is-open {
    max-height: 480px;
    padding: 8px 24px 24px;
}
.dg-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.dg-mobile-nav a {
    display: block;
    color: var(--dg-navy-light);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dg-mobile-nav a:hover {
    color: var(--dg-white);
}
.dg-mobile-audit {
    margin-top: 16px;
    text-align: center;
}
@media (max-width: 768px) {
    .dg-nav-primary {
        display: none;
    }
    .dg-btn-audit:not(.dg-mobile-audit) {
        display: none;
    }
    .dg-nav-toggle {
        display: flex;
    }
}

/* Hero */
.dg-hero {
    background: var(--dg-navy);
    text-align: center;
}
.dg-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}
.dg-hero-title {
    color: var(--dg-white);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}
.dg-hero-subtitle {
    color: var(--dg-navy-light);
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 40px;
}
.dg-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section header */
.dg-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.dg-eyebrow {
    display: inline-block;
    color: var(--dg-teal-dark);
    background: var(--dg-teal-light);
    padding: 6px 16px;
    border-radius: var(--dg-radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.dg-section-header h2 {
    color: var(--dg-text-dark);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}
.dg-section-header p {
    color: var(--dg-text-muted);
    font-size: 17px;
}

/* Services */
.dg-services {
    padding: var(--dg-section-padding);
    background: var(--dg-white);
}
.dg-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .dg-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .dg-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .dg-services-grid {
        grid-template-columns: 1fr;
    }
}
.dg-service-card {
    background: var(--dg-off-white);
    border: 1px solid var(--dg-border);
    border-radius: var(--dg-radius-card);
    padding: 36px 28px;
    box-shadow: var(--dg-shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dg-service-card:hover {
    box-shadow: var(--dg-shadow-hover);
    transform: translateY(-4px);
}
.dg-service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--dg-teal);
}
.dg-service-icon svg {
    width: 100%;
    height: 100%;
}
.dg-service-card h3 {
    color: var(--dg-text-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.dg-service-card p {
    color: var(--dg-text-body);
    font-size: 15px;
    line-height: 1.6;
}

/* Stats */
.dg-stats {
    background: var(--dg-teal);
    padding: 60px 0;
}
.dg-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.dg-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dg-stat-number {
    color: var(--dg-white);
    font-size: 40px;
    font-weight: 800;
}
.dg-stat-label {
    color: var(--dg-teal-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Testimonials */
.dg-testimonials {
    padding: var(--dg-section-padding);
    background: var(--dg-off-white);
}
.dg-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.dg-testimonial-card {
    background: var(--dg-white);
    border: 1px solid var(--dg-border);
    border-radius: var(--dg-radius-card);
    padding: 32px;
    box-shadow: var(--dg-shadow-card);
}
.dg-testimonial-quote {
    color: var(--dg-text-dark);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.dg-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dg-testimonial-author strong {
    color: var(--dg-navy);
    font-size: 15px;
}
.dg-testimonial-author span {
    color: var(--dg-text-muted);
    font-size: 13px;
}

/* CTA */
.dg-cta {
    background: var(--dg-navy-dark);
    padding: 90px 0;
    text-align: center;
}
.dg-cta h2 {
    color: var(--dg-white);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}
.dg-cta p {
    color: var(--dg-navy-light);
    font-size: 17px;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 900px) {
    .dg-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .dg-hero-title {
        font-size: 32px;
    }
    .dg-testimonials-grid,
    .dg-stats-grid {
        grid-template-columns: 1fr;
    }
}
