/* ===================================================
   Clean Gardens — Garden Services & Landscaping
   Custom Theme Stylesheet
   =================================================== */

/* ----- CSS Variables ----- */
:root {
    --cg-green-dark: #1b5e20;
    --cg-green: #2e7d32;
    --cg-green-mid: #4caf50;
    --cg-green-light: #81c784;
    --cg-green-pale: #e8f5e9;
    --cg-cream: #f9fdf6;
    --cg-earth: #5d4037;
    --cg-earth-light: #8d6e63;
    --cg-text: #2c2c2c;
    --cg-text-muted: #666;
    --cg-white: #ffffff;
    --cg-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --cg-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --cg-radius: 12px;
    --cg-transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----- Accessibility ----- */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--cg-green);
    color: var(--cg-white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--cg-radius) var(--cg-radius);
}

.skip-to-content:focus {
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    overflow: visible;
}

/* ----- Base ----- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-body);
    color: var(--cg-text);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: var(--cg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--cg-green-dark);
}

a {
    color: var(--cg-green);
    text-decoration: none;
    transition: var(--cg-transition);
}

a:hover {
    color: var(--cg-green-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--cg-green-mid);
}

/* ----- Top Bar ----- */
.top-bar {
    background: var(--cg-green-dark);
    color: var(--cg-white);
    font-size: 0.8rem;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

.top-bar a {
    color: var(--cg-white);
    opacity: 0.85;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--cg-green-light);
}

/* ----- Navbar ----- */
.navbar {
    padding: 0.75rem 0;
    transition: var(--cg-transition);
}

.brand-logo {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cg-green-dark);
}

.brand-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cg-green-mid);
    font-weight: 500;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--cg-text) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    font-size: 0.95rem;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--cg-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .nav-link:hover {
    color: var(--cg-green) !important;
}

/* ----- Buttons ----- */
.btn-cg-primary {
    background: var(--cg-green);
    color: var(--cg-white);
    border: 2px solid var(--cg-green);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
    transition: var(--cg-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cg-primary:hover,
.btn-cg-primary:focus {
    background: var(--cg-green-dark);
    border-color: var(--cg-green-dark);
    color: var(--cg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-cg-outline {
    background: transparent;
    color: var(--cg-white);
    border: 2px solid var(--cg-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
    transition: var(--cg-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cg-outline:hover,
.btn-cg-outline:focus {
    background: var(--cg-white);
    color: var(--cg-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-cg-outline-green {
    background: transparent;
    color: var(--cg-green);
    border: 2px solid var(--cg-green);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
    transition: var(--cg-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cg-outline-green:hover {
    background: var(--cg-green);
    color: var(--cg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-cg-green {
    background: var(--cg-green);
    color: var(--cg-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    transition: var(--cg-transition);
}

.btn-cg-green:hover,
.btn-cg-green:focus {
    background: var(--cg-green-dark);
    color: var(--cg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

/* ----- Section Styles ----- */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-green {
    background: var(--cg-green-pale);
}

.section-dark {
    background: var(--cg-green-dark);
    color: var(--cg-white);
}

.section-cream {
    background: var(--cg-cream);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--cg-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: var(--cg-white);
}

.section-dark .section-subtitle {
    opacity: 0.85;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--cg-green);
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.88) 0%, rgba(46, 125, 50, 0.75) 50%, rgba(76, 175, 80, 0.65) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%231b5e20" width="1440" height="900"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--cg-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.07)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cg-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero h1 span {
    color: var(--cg-green-light);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.92;
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
    color: var(--cg-green-light);
}

.hero-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ----- Service Cards ----- */
.service-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 2.2rem;
    text-align: center;
    box-shadow: var(--cg-shadow);
    transition: var(--cg-transition);
    height: 100%;
    border: 1px solid rgba(46, 125, 50, 0.08);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cg-shadow-lg);
    border-color: var(--cg-green-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cg-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--cg-green);
    transition: var(--cg-transition);
}

.service-card:hover .service-icon {
    background: var(--cg-green);
    color: var(--cg-white);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--cg-text-muted);
    line-height: 1.7;
}

/* ----- Feature / Why Choose Us ----- */
.feature-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--cg-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--cg-green);
}

.feature-item h5 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--cg-text);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--cg-text-muted);
    margin-bottom: 0;
}

/* ----- Testimonials ----- */
.testimonial-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 2rem;
    box-shadow: var(--cg-shadow);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '\201c';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--cg-green-pale);
    position: absolute;
    top: -0.2rem;
    left: 1.2rem;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--cg-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cg-green);
    color: var(--cg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cg-text);
}

.testimonial-location {
    font-size: 0.8rem;
    color: var(--cg-text-muted);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

/* ----- CTA Banner ----- */
.cta-banner {
    background: linear-gradient(135deg, var(--cg-green-dark) 0%, var(--cg-green) 100%);
    color: var(--cg-white);
    padding: 4.5rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--cg-white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* ----- Gallery Grid ----- */
.gallery-item {
    position: relative;
    border-radius: var(--cg-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cg-green-pale);
}

.gallery-item .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cg-green-pale) 0%, #c8e6c9 100%);
    color: var(--cg-green);
    font-size: 2.5rem;
    transition: var(--cg-transition);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(27, 94, 32, 0.85));
    color: var(--cg-white);
    transform: translateY(100%);
    transition: var(--cg-transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    color: var(--cg-white);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.gallery-overlay p {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0;
}

/* ----- About Page ----- */
.about-image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: var(--cg-radius);
    background: linear-gradient(135deg, var(--cg-green-pale) 0%, #a5d6a7 50%, var(--cg-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--cg-green);
}

.service-img-wrapper {
    width: 100%;
    height: 280px;
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: var(--cg-shadow);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-img-wrapper:hover .service-img {
    transform: scale(1.05);
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--cg-green);
    color: var(--cg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.2rem;
}

.value-card h5 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--cg-text);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--cg-text-muted);
}

/* ----- Contact Page ----- */
.contact-info-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 2rem;
    box-shadow: var(--cg-shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .ci-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--cg-green-pale);
    color: var(--cg-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-item h6 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--cg-text);
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--cg-text-muted);
}

.contact-form {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 2.5rem;
    box-shadow: var(--cg-shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--cg-transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--cg-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--cg-text);
}

/* ----- Page Header ----- */
.page-header {
    background: linear-gradient(135deg, var(--cg-green-dark) 0%, var(--cg-green) 100%);
    color: var(--cg-white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--cg-white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-top: 1rem;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: var(--cg-green-light);
    font-size: 0.85rem;
}

.page-header .breadcrumb-item.active {
    color: var(--cg-white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ----- Pricing / Service Detail ----- */
.pricing-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--cg-shadow);
    transition: var(--cg-transition);
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover,
.pricing-card.featured {
    border-color: var(--cg-green);
    transform: translateY(-5px);
    box-shadow: var(--cg-shadow-lg);
}

.pricing-card.featured {
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cg-green);
    color: var(--cg-white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h4 {
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cg-green);
    margin: 1rem 0;
}

.pricing-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cg-text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--cg-text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--cg-green);
    margin-right: 0.5rem;
    width: 18px;
}

/* ----- Footer ----- */
.site-footer {
    background: #1a2e1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-tagline {
    color: var(--cg-green-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-heading {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--cg-white);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cg-green-mid);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--cg-transition);
}

.footer-links a:hover {
    color: var(--cg-green-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-style: normal;
}

.footer-contact li,
.footer-contact > div {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact li i,
.footer-contact > div > i {
    color: var(--cg-green-light);
    margin-top: 0.2rem;
    width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--cg-green-light);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cg-white);
    margin-right: 0.5rem;
    transition: var(--cg-transition);
}

.footer-social a:hover {
    background: var(--cg-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    margin-top: 3rem;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--cg-green-light);
}

/* ----- Process Steps ----- */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cg-green);
    color: var(--cg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--cg-text);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--cg-text-muted);
}

/* ----- Alert / Success Message ----- */
.alert-cg-success {
    background: var(--cg-green-pale);
    border: 1px solid var(--cg-green-light);
    color: var(--cg-green-dark);
    border-radius: var(--cg-radius);
    padding: 1rem 1.5rem;
}

/* ----- Utilities ----- */
.text-green {
    color: var(--cg-green) !important;
}

.text-green-dark {
    color: var(--cg-green-dark) !important;
}

.bg-green-pale {
    background-color: var(--cg-green-pale) !important;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ----- Responsive Refinements ----- */

/* Mobile top bar */
.top-bar-mobile {
    background: var(--cg-green-dark);
    padding: 8px 0;
    text-align: center;
}

.top-bar-mobile a {
    color: var(--cg-white);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--cg-transition);
}

.top-bar-mobile a:hover {
    opacity: 1;
    color: var(--cg-green-light);
}

/* Navbar mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        margin-top: 0.75rem;
    }

    .navbar .nav-link {
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar-nav .btn {
        display: block;
        text-align: center;
        margin-top: 0.75rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 2.5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .cta-banner {
        padding: 3rem 0;
    }

    .cta-banner h2 {
        font-size: 1.7rem;
    }
}

/* Small screens */
@media (max-width: 767.98px) {
    .hero {
        min-height: 70vh;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero .d-flex.flex-wrap {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.8rem 1.2rem;
    }

    /* Footer mobile */
    .site-footer {
        padding: 3rem 0 0;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
        display: flex;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 2rem;
    }

    .footer-bottom .d-flex {
        flex-direction: column !important;
        gap: 0.5rem;
    }

    /* Admin cards mobile */
    .admin-stat-card {
        padding: 1.2rem;
    }

    .admin-stat-number {
        font-size: 1.4rem;
    }

    .admin-stat-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.1rem;
    }

    /* Admin page headers mobile */
    .page-header .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .page-header .d-flex .btn {
        align-self: center;
    }

    /* Modal mobile */
    .modal-dialog.modal-lg {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1.2rem !important;
    }

    /* Gallery mobile */
    .gallery-item {
        aspect-ratio: 3/2;
    }

    .showcase-card-img {
        height: 200px;
    }

    .admin-showcase-img {
        height: 140px;
    }

    .admin-upload-form {
        position: static;
    }
}

/* Extra small screens */
@media (max-width: 575.98px) {
    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .btn-cg-primary,
    .btn-cg-outline,
    .btn-cg-outline-green {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .process-step {
        padding: 1rem 0.5rem;
    }

    .process-number {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .value-card {
        padding: 1.2rem 0.8rem;
    }

    .about-image-placeholder {
        height: 200px;
        font-size: 3rem;
    }
}

/* =================================================
   Admin Portal Styles
   ================================================= */

/* ----- Admin Stat Cards ----- */
.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    padding: 1.5rem;
    box-shadow: var(--cg-shadow);
    transition: var(--cg-transition);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cg-shadow-lg);
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cg-text);
    line-height: 1.2;
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--cg-text-muted);
}

/* ----- Admin Action Cards ----- */
.admin-action-card {
    cursor: pointer;
    border: 2px solid transparent;
}

.admin-action-card:hover {
    border-color: var(--cg-green);
}

/* ----- Admin Showcase Cards ----- */
.admin-showcase-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: var(--cg-shadow);
    transition: var(--cg-transition);
    height: 100%;
}

.admin-showcase-card:hover {
    box-shadow: var(--cg-shadow-lg);
}

.admin-showcase-img {
    height: 180px;
    overflow: hidden;
    background: var(--cg-green-pale);
}

.admin-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.admin-showcase-card:hover .admin-showcase-img img {
    transform: scale(1.05);
}

.admin-showcase-body {
    padding: 1rem 1.2rem;
}

.admin-showcase-body h6 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--cg-text);
    margin-bottom: 0;
}

/* ----- Admin Upload Form Overrides ----- */
.admin-upload-form {
    position: sticky;
    top: 100px;
}

/* =================================================
   Public Showcase Page Styles
   ================================================= */

.showcase-card {
    background: var(--cg-white);
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: var(--cg-shadow);
    transition: var(--cg-transition);
    height: 100%;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cg-shadow-lg);
}

.showcase-card-img {
    height: 260px;
    overflow: hidden;
    background: var(--cg-green-pale);
    position: relative;
}

.showcase-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-card-img img {
    transform: scale(1.08);
}

.showcase-card-body {
    padding: 1.5rem;
}

.showcase-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cg-green-dark);
    margin-bottom: 0;
    line-height: 1.3;
}

.showcase-card-desc {
    font-size: 0.9rem;
    color: var(--cg-text-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}