/*
====================================
--- Horner Heating & Cooling STYLESHEET ---
====================================
*/

/* -------------------
   1. Root & Base Styles
   ------------------- */
:root {
    --primary-color: #4098D7;
    /* Cool Blue from logo */
    --secondary-color: #C1272D;
    /* Warm Red from logo */
    --accent-color: #C1272D;
    /* Using the strong red as the main accent */
    --accent-color-dark: #A12025;
    /* A darker shade of red for hover effects */
    --bg-color-dark: #12121f;
    --bg-color-light: #f4f7fc;
    --bg-color-medium: #e9eef6;
    --text-color-dark: #1e1e3a;
    --text-color-light: #ffffff;
    --text-color-medium: #6a7185;
    --border-color: #dbe1ec;
    --shadow-color: rgba(74, 71, 163, 0.1);
    --header-height: 80px;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color-light);
    color: var(--text-color-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-color-dark);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-color-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* -------------------
   2. Utility Classes
   ------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.btn span {
    margin-right: 8px;
    z-index: 2;
}

.btn i {
    z-index: 2;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 216, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background-color: rgba(74, 71, 163, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

/* -------------------
   3. Header & Navigation
   ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: var(--bg-color-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    transition: height 0.4s ease;
}

.header.scrolled .container {
    height: 70px;
}

.logo {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}


.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color-light);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--text-color-light);
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: 1.5rem;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-color-light);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-toggle.active .bar-top {
    transform: rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color-dark);
    z-index: 999;
    padding-top: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
    display: flex;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 2rem;
}

.mobile-nav ul li a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    font-weight: 600;
}

/* -------------------
   4. Hero Section
   ------------------- */
.hero {
    background-color: var(--bg-color-dark);
    height: 100vh;
    min-height: 700px;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background-color: var(--secondary-color);
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -100px;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 25%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero .btn-secondary {
    color: var(--text-color-light);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background-color: var(--text-color-light);
    color: var(--text-color-dark);
    border-color: var(--text-color-light);
}

/* Hero Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1.animate-on-load {
    animation-delay: 0.2s;
}

.hero-content p.animate-on-load {
    animation-delay: 0.4s;
}

.hero-content .hero-actions.animate-on-load {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------
   5. Clients Section
   ------------------- */
.clients-section {
    padding: 2rem 0;
    background-color: var(--bg-color-medium);
    text-align: center;
}

.clients-section p {
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-color-medium);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.client-logos img {
    height: 35px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logos img:hover {
    opacity: 1;
}

/* -------------------
   6. Services Section
   ------------------- */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color), transparent);
    transform: scale(0);
    transition: transform 0.5s ease;
    z-index: 0;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    position: relative;
    font-size: 0.95rem;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    margin-top: 1rem;
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

.card-link i {
    margin-left: 5px;
}

/* -------------------
   7. About Us Section
   ------------------- */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text ul {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.about-text ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.about-text ul li i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 5px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.about-image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid var(--accent-color);
    border-radius: var(--border-radius);
    top: -20px;
    left: -20px;
    z-index: -1;
    transition: all 0.4s ease;
}

.about-image-wrapper:hover .about-image-decoration {
    transform: translate(10px, 10px);
}

/* -------------------
   8. Campaign Report Section
   ------------------- */
.report-section {
    padding: 80px 0;
    background: var(--bg-color-dark);
}

.report-section .section-header h2,
.report-section .section-header p {
    color: var(--text-color-light);
}

.report-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.report-dashboard {
    display: flex;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-height: 500px;
    overflow: hidden;
}

.report-sidebar {
    background-color: #1e1e3a;
    padding: 2rem;
    width: 250px;
    color: var(--text-color-light);
}

.report-logo img {
    height: 35px;
    margin-bottom: 2.5rem;
}

.report-sidebar ul {
    list-style: none;
}

.report-tab {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.report-tab i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.report-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.report-tab.active {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
}

.report-main {
    flex-grow: 1;
    padding: 2.5rem;
}

.report-content {
    display: none;
}

.report-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.date-range {
    background: var(--bg-color-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.metric-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.metric-card h4 {
    font-size: 1rem;
    color: var(--text-color-medium);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.sub-metric {
    font-size: 1rem;
    font-weight: 500;
}

.metric-change {
    margin: 0;
    font-weight: 600;
}

.metric-change.positive {
    color: #2ecc71;
}

.metric-change.negative {
    color: #e74c3c;
}

.report-chart img {
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* -------------------
   9. Testimonials Section
   ------------------- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-color-medium);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-slide img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--accent-color);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    margin-bottom: 0.25rem;
}

.testimonial-title {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    transform: translateY(-50%);
}

.slider-btn {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.slider-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    transform: scale(1.1);
}

/* -------------------
   10. Pricing Section
   ------------------- */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
}

.pricing-header p {
    min-height: 40px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

.price sup {
    font-size: 1.5rem;
    top: -1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-medium);
}

.price-custom {
    font-size: 2rem;
}

.features-list {
    text-align: left;
    margin-bottom: 2.5rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.features-list i {
    margin-right: 10px;
    width: 20px;
}

.features-list .fa-check {
    color: #2ecc71;
}

.features-list .fa-times {
    color: #e74c3c;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* -------------------
   11. CTA Section
   ------------------- */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color) url('assets/cta-bg.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: var(--text-color-light);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-content .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
}

/* -------------------
   12. Footer
   ------------------- */
.footer {
    background-color: var(--bg-color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    left: -100px;
    bottom: -150px;
}

.footer-shape.shape-2 {
    width: 200px;
    height: 200px;
    right: -50px;
    top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    transform: translateY(-3px);
}

.footer-col-title {
    color: var(--text-color-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 15px;
    margin-top: 5px;
    color: var(--accent-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* -------------------
   13. Subpage Styles
   ------------------- */
body.subpage .header {
    background-color: var(--bg-color-dark);
    position: sticky;
}

.page-header {
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-color-light);
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

.breadcrumbs {
    margin-top: 1rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs span {
    color: var(--text-color-light);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.content-wrapper ul li {
    margin-bottom: 0.75rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-color-medium);
    margin-top: 2rem;
    text-align: right;
}

/* -------------------
   14. Contact Page
   ------------------- */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-color-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.contact-info-panel h2 {
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.method-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(74, 71, 163, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.method-details p {
    margin: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 71, 163, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 15px;
}

/* Contact Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-color-medium);
    text-decoration: none;
    line-height: 1;
}

.popup-content .fa-check-circle {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content .btn {
    margin-top: 1.5rem;
}

/* -------------------
   15. Chat Widget
   ------------------- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.chat-header img {
    height: 30px;
    margin-right: 15px;
}

.chat-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    flex-grow: 1;
}

.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

.close-chat:hover {
    opacity: 1;
}

.chat-body {
    padding: 20px;
    height: 200px;
    overflow-y: auto;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    padding: 15px;
    outline: none;
}

.chat-footer button {
    background: var(--accent-color);
    border: none;
    padding: 0 20px;
    color: var(--text-color-dark);
    cursor: pointer;
    font-size: 1.2rem;
}

/* -------------------
   16. Animations & Scroll Effects
   ------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* -------------------
   17. Responsive Design
   ------------------- */
@media (max-width: 1024px) {
    .nav-list {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-top: 2rem;
    }

    .report-dashboard {
        flex-direction: column;
    }

    .report-sidebar {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 1rem;
    }

    .report-logo {
        display: none;
    }

    .report-sidebar ul {
        display: flex;
        flex-grow: 1;
        justify-content: space-around;
    }

    .report-tab {
        margin-bottom: 0;
        padding: 10px 15px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .slider-controls {
        width: 100%;
        left: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    .header .container {
        height: 70px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .report-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-window {
        width: calc(100vw - 30px);
    }
}