/* 
* Promo Pulse360 - Custom CSS
* Modern 2025 web styling standards
* Enhanced with HVAC theme styles
*/

:root {
    /* Brand Palette */
    --primary: #2563EB; /* Blue 600 */
    --primary-rgb: 37, 99, 235;
    --secondary: #05213C; /* Deep Navy */
    --accent: #F2B821; /* Gold accent */
    --accent-rgb: 242, 184, 33;

    /* Neutrals */
    --background: #F9FAFB;
    --text: #292929;
    --body-color: #5A5A5A;
    --gray-color: #777F81;
    --light-color: #fdfdfd;
    --card-bg: #FFFFFF;
    --border-radius: 1rem;
    
    /* Bootstrap Theme Color Overrides */
    --bs-gray-100: #F6F6F6;
    --bs-gray-300: #DCDCDC;
    --bs-primary-text-emphasis: var(--primary);
    --bs-body-color-rgb: 90, 90, 90;
    --bs-link-color: var(--primary);
    --bs-link-hover-color: #1D4ED8;
    --bs-light-rgb: rgba(255, 255, 255, 1);
    --bs-dark-rgb: 41, 41, 41;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--body-color);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 60px;
    background-color: var(--primary);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Center underline when the parent uses text-center */
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 33, 60, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.rounded-pill-start {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
}

.rounded-pill-end {
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--body-color);
    margin-bottom: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    height: 100%;
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 184, 33, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--secondary);
    transform: rotateY(180deg);
}

.feature-card h4 {
    margin-bottom: 15px;
}

.rounded-4 {
    border-radius: var(--border-radius);
}

.rounded-2xl {
    border-radius: 1rem;
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: saturate(160%) blur(6px);
}

.navbar-styled { /* opt-in richer navbar styling if needed */
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.navbar-scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand img {
    max-height: 50px;
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.2px;
}
.navbar-brand .text-primary { color: var(--brand-primary) !important; }
.navbar-brand .text-secondary { color: var(--brand-secondary) !important; }

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--brand-muted);
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 1rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-primary);
}

.dropdown-menu {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--brand-muted);
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 120px;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(242, 184, 33, 0.1);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(5, 33, 60, 0.05);
    z-index: 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-btns {
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Background Gradient (light, accessible) */
.bg-gradient {
    background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%) !important;
}

.bg-light {
    background-color: var(--bs-gray-100) !important;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    height: 100%;
    border: none;
    background-color: white;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--accent-rgb), 0.1);
    border-radius: 50%;
    color: var(--accent);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
}

/* Partner Logos */
.partner-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 70px;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(242, 184, 33, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter-form .form-control {
    height: 3.5rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding-left: 1.5rem;
}

.newsletter-form .btn {
    height: 3.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-height: 50px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-heading {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background-color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 20px;
    text-decoration: none;
}

.footer-links a:hover::before {
    color: var(--primary);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    height: 50px;
    padding-left: 20px;
}

.footer-newsletter .btn {
    padding: 0.375rem 1.5rem;
    height: 50px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
/* --- Design System Enhancements for Sections --- */
:root {
  --brand-primary: #2563eb; /* blue-600 */
  --brand-secondary: #0ea5e9; /* sky-500 */
  --brand-dark: #0f172a; /* slate-900 */
  --brand-muted: #64748b; /* slate-500 */
  --brand-light: #f8fafc; /* slate-50 */
  --radius-lg: 1rem;
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.10);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

/* Section wrapper for consistent spacing and headings */
.section {
  padding: var(--space-8) 0;
}
.section.light {
  background-color: var(--brand-light);
}
.section.dark {
  background-color: var(--brand-dark);
  color: #fff;
}
.section-modern {
  position: relative;
}
.section-modern .section-header {
  margin-bottom: var(--space-6);
}
.section-modern .section-eyebrow {
  color: var(--brand-secondary);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.section-subtitle {
  color: var(--brand-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section .divider {
  width: 64px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 3px;
  margin: 16px auto 0;
}

/* Section actions */
.section-actions {
  margin-top: var(--space-6);
}
.section-actions .btn + .btn {
  margin-left: var(--space-3);
}

/* Modern feature icon ring */
.icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Rich card styling for feature/process/case/pricing blocks */
.card-rich {
  border: 1px solid #e5e7eb; /* subtle neutral border */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-rich:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25); /* accent border on hover */
}

/* Section grid utility */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (max-width: 992px) {
  .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
  .section-grid { grid-template-columns: 1fr; }
}

/* Responsive section spacing */
@media (max-width: 992px) {
  .section { padding: var(--space-7) 0; }
}
@media (max-width: 576px) {
  .section { padding: var(--space-6) 0; }
}

/* --- Consistent Section Image Sizing --- */
/* Standardize service card images */
.service-img {
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Standardize process section inline images */
.process-content img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.card-rich .card-title {
  font-weight: 600;
}
.card-rich .card-text {
  color: var(--brand-muted);
}

/* Icon badge styles */
.icon-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary);
}
.icon-badge-xl {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

/* Stats in case studies */
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-item .stat-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-primary);
}
.stat-item .stat-label {
  color: var(--brand-muted);
}

/* Pricing cards */
.price-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.price-card .price {
  font-weight: 800;
  font-size: 2rem;
}
.price-card .feature-list li {
  margin-bottom: 10px;
}
.price-card .feature-list i {
  color: var(--brand-primary);
  margin-right: 8px;
}

/* Gradient CTA banner */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: #fff;
}

/* FAQ accordion tweaks */
.accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background-color: rgba(37, 99, 235, 0.08);
}
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Utility */
.text-muted-soft { color: var(--brand-muted); }
/* Footer */
.footer {
    background-color: var(--secondary);
    color: #fff;
}

.footer h5, .footer h6 {
    color: #fff;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
}

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

.footer-links a:hover {
    color: var(--accent);
}

.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.2s ease-in-out;
    margin-right: 0.5rem;
}

.social-icons .social-icon:hover {
    background-color: rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.footer-bottom a:hover {
    color: var(--accent);
}